problems with date

Поиск
Список
Период
Сортировка
От Jamie Deppeler
Тема problems with date
Дата
Msg-id 41C79FA2.9070400@doitonce.net.au
обсуждение исходный текст
Ответы Re: problems with date
Список pgsql-general
Hi,

having a small problem in a trigger i want to automatically update a
date field but when i use for example

update table
set field = current_date
where table.pk = new.pk

or

update table
set field = now()
where table.pk = new.pk

this crashes think link between server and db, i have tried using these
commands on a command line and they work ok

thanks for any help again

JD

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

Предыдущее
От: Postgres Learner
Дата:
Сообщение: weird run-times with pg_autovacuum
Следующее
От: Ron Peterson
Дата:
Сообщение: transactions in multiple action rules