Re: [GENERAL] Comments with embedded single quotes

2000-06-29 Thread Bruce Momjian
> Richard Harvey Chapman <[EMAIL PROTECTED]> writes: > > Are single quotation marks not allowed in comments? > > > test2=# /* John's cat is fat. */ > > test2'# > > test2'# '*/ > > test2-# ; > > ERROR: Unterminated quoted string > > test2=# > > They are, but it looks like psql's primitive parser

Re: [GENERAL] Comments with embedded single quotes

2000-06-28 Thread Tom Lane
Richard Harvey Chapman <[EMAIL PROTECTED]> writes: > Are single quotation marks not allowed in comments? > test2=# /* John's cat is fat. */ > test2'# > test2'# '*/ > test2-# ; > ERROR: Unterminated quoted string > test2=# They are, but it looks like psql's primitive parser is confused here. Wha

Re: [GENERAL] Comments with embedded single quotes

2000-06-28 Thread Bruce Momjian
> /* log will probably just be a table for Saruman's use only. */ > > Are single quotation marks not allowed in comments? > > test2=# /* John's cat is fat. */ > test2'# > test2'# '*/ > test2-# ; > ERROR: Unterminated quoted string > test2=# > > I have the SQL + comments for creating my databas