Re: [SQL] DEFAULT TEXT 'now' in create table

Поиск
Список
Период
Сортировка
От Remigiusz Sokolowski
Тема Re: [SQL] DEFAULT TEXT 'now' in create table
Дата
Msg-id Pine.GS4.4.02A.9902151210530.18617-100000@netra.gdansk.sprint.pl
обсуждение исходный текст
Ответ на DEFAULT TEXT 'now' in create table  (Roberto Joao Lopes Garcia <roberto@mha.com.br>)
Список pgsql-sql
>
> I�m making tests on datetime fields and try to use DEFAULT TEXT 'now' but
> it end up always with the same time.
>
> Is it OK? I do not think so! Perhaps I made some mistakes or do not
> understood the manuals.
>
> PostgreSQL 6.4.0 - Sparc Solaris 2.5 - front end psql
>     hora time DEFAULT TEXT 'now',
Hi!
Instead of 'now' use now() this will always insert actual time - I have
teh same problem :-)
    Rem

-------------------------------------------------------------------*------------
Remigiusz Sokolowski      e-mail: rems@gdansk.sprint.pl           * *
-----------------------------------------------------------------*****----------


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

Предыдущее
От: "J. Kinsley"
Дата:
Сообщение: ENUM Type
Следующее
От: "jose' soares"
Дата:
Сообщение: Re: [SQL] index on aggregate function