Re: PGS 7.2 : Insert with wrong number of values did not

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: PGS 7.2 : Insert with wrong number of values did not
Дата
Msg-id 1109000682.30529.59.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на PGS 7.2 : Insert with wrong number of values did not fail  (Geoffrey KRETZ <gk@4js.com>)
Ответы Re: PGS 7.2 : Insert with wrong number of values did not  (Geoffrey KRETZ <gk@4js.com>)
Список pgsql-general
On Mon, 2005-02-21 at 09:38, Geoffrey KRETZ wrote:
> Hi,
>
> I've got a question about a difference beetween PGS 7.2 and PGS 7.4
> behaviours.
>
> With PGS 7.2 :
>  INSERT INTO table (col1, col2) VALUES (val1) doesn't fail
>
> With PGS 7.4 :
>  INSERT INTO table (col1, col2) VALUES (val1) failed
>
> Is it a known bug ?

Yes, if 7.2 did that it WAS a known bug.  Fixed in 7.4.  It is illegal
to have unmatching numbers of columns in the insert list and the column
list.

Did 7.2 really do that?

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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Deadlock and FK triggers
Следующее
От: Geoffrey KRETZ
Дата:
Сообщение: Re: PGS 7.2 : Insert with wrong number of values did not