From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Joseph Shraibman <jks(at)selectacast(dot)net> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: new type proposal |
Date: | 2001-02-06 21:36:09 |
Message-ID: | 200102062136.QAA14411@candle.pha.pa.us |
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.
Well, SERIAL does auto-sequence create and DEFAULT. I don't see why we
can't add these features like we did for SERIAL.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Marek Pętlicki | 2001-02-06 21:46:31 | pg_dump crash |
Previous Message | Mitch Vincent | 2001-02-06 21:27:11 | Re: full text searching |