From: | "Josh Berkus" <josh(at)agliodbs(dot)com> |
---|---|
To: | "Jonathon Batson" <jonathon(at)octahedron(dot)com(dot)au>, <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Sequences Question |
Date: | 2002-10-28 17:05:45 |
Message-ID: | web-1801885@davinci.ethosmedia.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Jonathon,
> 1> the seq is definately there
> 2> syntax is a question??
> so I also tried removing the " " around both instances of the
> sequence
> name
> and received the same error. Also tried removing all quotes but then
> a
> parse error occurs.
Real simple ... within a function, you need to use a
double-single-quote, '' , rather than a double-quote ".
PostgreSQL only uses double-quotes for "quoted identifiers", that is
database object names which are not allowed, such as "Table One" and
"1st_try". All other quoting purposes are fulfilled by single quotes
'.
-Josh
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Gabriel | 2002-10-29 09:41:47 | Postgres DB on smbfs? |
Previous Message | Jules Alberts | 2002-10-28 15:06:07 | Re: Upgrading from 7.2.1 to 7.2.3 on RH7.3 |