Re: inserting a NULL timestamp

Поиск
Список
Период
Сортировка
От Robert Poor
Тема Re: inserting a NULL timestamp
Дата
Msg-id AANLkTinpA_J0+ZuebqFmeiFR9HTXSunkCBrFCzNnKb-r@mail.gmail.com
обсуждение исходный текст
Ответ на Re: inserting a NULL timestamp  (Steve Crawford <scrawford@pinpointresearch.com>)
Список pgsql-novice
@Steve:

On Tue, Mar 29, 2011 at 10:09, Steve Crawford
<scrawford@pinpointresearch.com> wrote:
> It's the select part that is causing your trouble. Try casting the null to a
> timestamp:
> ...as cost, null::timestamp as start_time...

Bingo.  Perfect - thanks.

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

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: inserting a NULL timestamp
Следующее
От: Robert Poor
Дата:
Сообщение: updating records in table A from selected records in table B