pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
[OOT] timestamp / time ('now') in postgresql 7.2?
2+ messages / 2 participants
[nested] [flat]

* [OOT] timestamp / time ('now') in postgresql 7.2?
@ 2002-03-21 11:46  Johny Jugianto <johny.q@rocketmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Johny Jugianto @ 2002-03-21 11:46 UTC (permalink / raw)
  To: pgsql-sql

hi

i'm have installed latest version of postgresql which is 7.2
why i can not use timestamp('now') or time('now') ?
it said : ERROR:    parser: parse error at or near "'"

can anyone explain why?
i'm try in 7.1.x. it's works well
did i miss something when installation? is it in new version need somekind
of "plug-in"?

ps: date('now') is work fine

thx in advance




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [OOT] timestamp / time ('now') in postgresql 7.2?
@ 2002-03-21 14:29  Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  parent: Johny Jugianto <johny.q@rocketmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Christopher Kings-Lynne @ 2002-03-21 14:29 UTC (permalink / raw)
  To: Johny Jugianto <johny.q@rocketmail.com>; +Cc: pgsql-sql

> i'm have installed latest version of postgresql which is 7.2
> why i can not use timestamp('now') or time('now') ?
> it said : ERROR:    parser: parse error at or near "'"

Those two words have become a little more reserved.  If you go
"timestamp"('now') or "time"('now') it should work.

Even better, I think you can go timestamp 'now' or time 'now' instead
IIRC.

Chris




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-03-21 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-21 11:46 [OOT] timestamp / time ('now') in postgresql 7.2? Johny Jugianto <johny.q@rocketmail.com>
2002-03-21 14:29 ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox