plpgsql commenting broken? - Mailing list pgsql-general

From Johnny Jørgensen
Subject plpgsql commenting broken?
Date
Msg-id 200112041628470534.002ED906@mail.halfahead.dk
Whole thread Raw
Responses Re: plpgsql commenting broken?
List pgsql-general
After quite a few hours of poring over my latest plpgsql dabbling,  i found the error that caused import to barf, and I was a bit surprised, since the error was caused by a single apostrophe in a comment line
 
-- check if the row isn't available
[SQL thingie]
 
of course, i could avoid the problem by rewriting my comments to
 
-- check if the row is available
[SQL thingie]
 
but it seems to me, that commenting a line should cause the parser to ignore *everything* until the next newline?
 
regards,

Johnny J�rgensen
 
+45 6315 7328

pgsql-general by date:

Previous
From: "John Gray"
Date:
Subject: Re: Remote Access to pgsql DB ???
Next
From: Tom Lane
Date:
Subject: Re: Problem (bug?) with like