Re: I was spoiled by the MySQL timestamp field
От | Lincoln Yeoh |
---|---|
Тема | Re: I was spoiled by the MySQL timestamp field |
Дата | |
Msg-id | 5.1.0.14.1.20030127214317.02cc3360@mbox.jaring.my обсуждение исходный текст |
Ответ на | Re: I was spoiled by the MySQL timestamp field (will trillich <will@serensoft.com>) |
Список | pgsql-general |
At 11:59 PM 1/26/03 -0600, will trillich wrote: >On Sun, Jan 26, 2003 at 05:00:36PM -0500, Tom Lane wrote: > > now() is a function call and will not be folded into a constant. > > > You can easily check the behavior for yourself rather than relying on > > other people's assertions. > >note -- this is ALWAYS a good idea. especially when it's *me* >giving the assertion :) It's still good hear from the developers what they think the behaviour should be, and would be. If the devs, docs and software agree then it'll be fine to use the feature. Otherwise if possible, it might be a better idea to use a different feature to achieve what I want. Don't want to use a behaviour will soon be deprecated/changed. Of course, it's not good to pester you guys for everything either. But current_timestamp vs now() vs 'now' would probably be a popular feature enough to clarify. Hope this doesn't waste too much bandwidth ;). Link.
В списке pgsql-general по дате отправления: