Comments with embedded single quotes

From: Richard Harvey Chapman <hchapman(at)3gfp(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Comments with embedded single quotes
Date: 2000-06-29 02:06:38
Message-ID: Pine.LNX.4.10.10006281902490.18540-100000@smile.3gfp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2000-06-29 02:41:52 Re: Comments with embedded single quotes
Previous Message Tom Lane 2000-06-29 01:52:12 Re: pg_atoi()