Re: Sequences Question

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Sequences Question
Дата
Msg-id web-1801885@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на Sequences Question  ("Jonathon Batson" <jonathon@octahedron.com.au>)
Список 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

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Jules Alberts"
Дата:
Сообщение: Re: Upgrading from 7.2.1 to 7.2.3 on RH7.3
Следующее
От: "cristi"
Дата:
Сообщение: Practical PostgreSQL