Re: Bug in Beta3 with parser? - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Bug in Beta3 with parser?
Date
Msg-id 878yar4h2a.fsf@stark.xeocode.com
Whole thread Raw
In response to Bug in Beta3 with parser?  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: Bug in Beta3 with parser?
List pgsql-hackers
"Joshua D. Drake" <jd@commandprompt.com> writes:

> template1=# update baz set test = test--3;
> template1-#
> 
> Here this system does not pick up the semi colon. I have to enter a second
> semi colon to get the update to happen.

Everything after a -- to the end of a line is a comment in SQL.

-- 
greg



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: More pgindent bizarreness
Next
From: Tom Lane
Date:
Subject: Re: regression failure on Solaris contrib/cube