new type proposal

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: new type proposal
Date: 2001-02-06 20:43:28
Message-ID: 3A8061F0.866AB642@selectacast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I've been thinking on some new pesudo-types like SERIAL.

1) LAST_MODIFIED is the timestamp of that last time this row was
modified. Easy enough to do currently with triggers.
2) TIME_CREATED is the timestamp of when this row was first created with
an INSERT. I'm not sure how to do this because it needs to be read
only.

Both of these could be useful to me and I can implement them by myself
(except #2 which I'll just have to trust myself not to screw up) but
general users might find them useful.

What do you think?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stefan Waidele jun. 2001-02-06 20:46:11 Re: clean rebuild process?
Previous Message Dan Wilson 2001-02-06 20:34:01 Re: Re: PostreSQL SQL for MySQL SQL