Re: create temp table and on commit in 7.3.3

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: create temp table and on commit in 7.3.3
Дата
Msg-id 20050209071941.GA88823@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: create temp table and on commit in 7.3.3  (Neil Conway <neilc@samurai.com>)
Ответы Re: create temp table and on commit in 7.3.3  (Antony Paul <antonypaul24@gmail.com>)
Re: create temp table and on commit in 7.3.3  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Wed, Feb 09, 2005 at 06:00:52PM +1100, Neil Conway wrote:
> On Wed, 2005-02-09 at 10:48 +0530, Antony Paul wrote:
> > Hi all,
> >     This is giving error in 7.3.3.
> >
> >  CREATE TEMP TABLE temptest3(col int PRIMARY KEY) ON COMMIT DELETE ROWS;
> > ERROR:  parser: parse error at or near "ON" at character 51
> >
> > Is this supported.
>
> No. Looking at the manual would have made it pretty obvious this was
> added in 7.4

The 7.3 and 7.2 documentation for CREATE TABLE both mention ON COMMIT:

http://www.postgresql.org/docs/7.3/static/sql-createtable.html#SQL-CREATETABLE-COMPATIBILITY
http://www.postgresql.org/docs/7.2/static/sql-createtable.html#SQL-CREATETABLE-COMPATIBILITY

Should those versions describe ON COMMIT if they don't support it?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: create temp table and on commit in 7.3.3
Следующее
От: Antony Paul
Дата:
Сообщение: Re: create temp table and on commit in 7.3.3