| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
| Cc: | pgsql-hackers(at)postgreSQL(dot)org, rbrad(at)hpb50023(dot)boi(dot)hp(dot)com |
| Subject: | Re: [HACKERS] Sequences.... |
| Date: | 1999-03-18 01:50:27 |
| Message-ID: | 19537.921721827@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
>> [ several of us like making SERIAL a new data type ]
> My guess is that 6.5 is too close to be making such sweeping changes,
I agree, we should probably not expect to squeeze such a change in for
6.5.
Although we've been hand-waving about how this could be done, I think
it would require either ugly hackery or some nontrivial extensions to
the system. AFAIR, for example, there is no data-type-specific code
that gets executed when NULL is assigned to a column, therefore no
easy way for a SERIAL data type to get control and substitute a suitable
default value. Probably we'd end up still having to use a "DEFAULT"
clause to make that happen. It seems to need some thought, anyway.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 1999-03-18 01:52:36 | Re: [HACKERS] vacuum slowness |
| Previous Message | Ryan Bradetich | 1999-03-18 01:11:24 | Re: [HACKERS] Sequences.... |