Re: INSERTing rows from external file

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Re: INSERTing rows from external file
Дата
Msg-id alpine.LNX.2.00.1108161546500.23855@salmo.appl-ecosys.com
обсуждение исходный текст
Ответ на Re: INSERTing rows from external file  ("David Johnston" <polobo@yahoo.com>)
Список pgsql-general
On Tue, 16 Aug 2011, David Johnston wrote:

> Your INSERT statement is syntactically incorrect; the error has nothing to
> do with PSQL other than the fact that PSQL is reporting the error to you.

David,

   I see that now.

> Odds are you are wrapping your Boolean input with single quotes and the
> empty string is not valid input for a Boolean. Because of the quotes the
> system will not use NULL since the input data is not missing but instead
> it has the empty-string as a value.

   Yep. Gotta' correct them all so the proper columns are listed and those
with no values are not.

   Thanks for pointing out the obvious.

Rich



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

Предыдущее
От: "David Johnston"
Дата:
Сообщение: Re: INSERTing rows from external file
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Using Postgresql as application server