Bug in comment parsing? [was: Re: Comments in .sql files]

From: Rory Campbell-Lange <rory(at)campbell-lange(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Chad N(dot) Tindel" <chad(at)tindel(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Bug in comment parsing? [was: Re: Comments in .sql files]
Date: 2003-08-01 13:51:50
Message-ID: 20030801135150.GE20032@campbell-lange.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

/*
Check to see if a person's code is correct
*/

My Postgres 7.3.2 install chokes on the ' when trying to load a function
from psql \i.

Rory

On 31/07/03, Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> "Chad N. Tindel" <chad(at)tindel(dot)net> writes:
> > 1. It obviously doesn't like the # notation for comments. What is the proper
> > way to put comments in schema files?
>
> The SQL-standard comment syntaxes are
>
> -- comment to end of line
>
> /* C-like comment, possibly multiple lines */

--
Rory Campbell-Lange
<rory(at)campbell-lange(dot)net>
<www.campbell-lange.net>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-08-01 14:05:53 Re: Comments in .sql files
Previous Message Rory Campbell-Lange 2003-08-01 13:48:30 Re: [GENERAL] interesting PHP/MySQL thread