Is "OFFSET" a reserved word?

Поиск
Список
Период
Сортировка
От Mark Dalphin
Тема Is "OFFSET" a reserved word?
Дата
Msg-id 37A1E3A6.9456F415@amgen.com
обсуждение исходный текст
Ответы Re: [GENERAL] Is "OFFSET" a reserved word?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-general
Hi,

My old DB schema which worked up thru Postgresql ver 6.4.2 has been broken in
ver 6.5.1 (running on an SGI).

CREATE TABLE Seq (
    .....
    Offset int not null,
    ....
);

now fails with a parse error at 'offset'. I don't see this word listed in the
reserved words page. When I change the word to SeqOffset, the schema works fine.

Mark

--
Mark Dalphin                          email: mdalphin@amgen.com
Mail Stop: 29-2-A                     phone: +1-805-447-4951 (work)
One Amgen Center Drive                       +1-805-375-0680 (home)
Thousand Oaks, CA 91320                 fax: +1-805-499-9955 (work)




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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Non-Code Contributing ...
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] Is "OFFSET" a reserved word?