On Wed, Jun 10, 2009 at 12:49 PM, Gus
Gutoski<shared.entanglem...@gmail.com> wrote:
> Of course, the double minus sign comments out the rest of the line and
> the statement is left dangling, looking for a terminating semicolon.

SQL statements are not terminated with semi-colons.  The semi-colon is
used in the psql shell to indicate that you're done typing your
statement and to execute it.  The API just submits the string you give
it to the executor.

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to