pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
system variable for update
2+ messages / 2 participants
[nested] [flat]

* system variable for update
@ 2003-12-17 11:31  Ashok Chauhan <ashok@kalculate.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Ashok Chauhan @ 2003-12-17 11:31 UTC (permalink / raw)
  To: pgsql-admin

hello

in postgresql there is any system variable for update

Means if i update a record so any system variable store the
timestamp(update time) of that updated record.
Thankyou
Ashok





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

* Re: system variable for update
@ 2003-12-18 09:26  A.Bhuvaneswaran <bhuvan@symonds.net>
  parent: Ashok Chauhan <ashok@kalculate.com>
  0 siblings, 0 replies; 2+ messages in thread

From: A.Bhuvaneswaran @ 2003-12-18 09:26 UTC (permalink / raw)
  To: Ashok Chauhan <ashok@kalculate.com>; +Cc: pgsql-admin


> in postgresql there is any system variable for update

No such built-in feature is available. But, we can write a before
trigger on update event to set the modified time.

regards,
bhuvaneswaran





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


end of thread, other threads:[~2003-12-18 09:26 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-12-17 11:31 system variable for update Ashok Chauhan <ashok@kalculate.com>
2003-12-18 09:26 ` A.Bhuvaneswaran <bhuvan@symonds.net>

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