From: jkakar@expressus.com
To: pgsql-sql@postgresql.org
Subject: Weird script problems solved...
Date: Mon, 15 Jan 2001 10:58:32 -0800
Message-ID: <20010115105832.A575@expressus.com> (raw)
Hi,
About a week back I'd posted a message asking for help with a script
that as far as I could tell was well formed. The problem was with 2
INSERT statements directly after the CREATE TABLE statement of the
table that I was trying to insert data into. I'd used C single/multi
line comments of the form:
/* woo */
and
/* foo
* bar
* baz
*/
throughout the script. In order to determine what the problem was I
ran the script through a C preprocessor to remove the comments.
Without comments the script worked as expected. I replaced the C
style comments with SQL '--' comments and the script also worked as
expected. Unfortunately, I didn't maintain a copy of the C commented
script to help PSQL developers but thought this important to mention
anyway.
Thanks,
Jamu.
--
Jamu Kakar (Developer) Expressus Design Studio, Inc.
jkakar@expressus.com 708-1641 Lonsdale Avenue
V: (604) 903-6999 North Vancouver, BC, V7M 2J5
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: jkakar@expressus.com
Subject: Re: Weird script problems solved...
In-Reply-To: <20010115105832.A575@expressus.com>
References: <20010115105832.A575@expressus.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox