Comments with embedded single quotes - Mailing list pgsql-general

From Richard Harvey Chapman
Subject Comments with embedded single quotes
Date
Msg-id Pine.LNX.4.10.10006281902490.18540-100000@smile.3gfp.com
Whole thread Raw
Responses Re: Comments with embedded single quotes  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Comments with embedded single quotes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
/* 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 database in files that are just
imported in psql.

curious,

R.



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_atoi()
Next
From: Bruce Momjian
Date:
Subject: Re: Comments with embedded single quotes