From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Tara Piorkowski <tara(at)vilaj(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Bug in Dependencies Code in 7.3.x? |
Date: | 2002-12-31 04:36:56 |
Message-ID: | 27371.1041309416@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tara Piorkowski <tara(at)vilaj(dot)com> writes:
> Regardless, my thinking had been that I was looking at an INT with a
> DEFAULT set, in which case I think this would be a bonified bug, thus my
> report.
Right --- but *if you'd declared it that way*, the system would have
reacted in the way you were expecting. SERIAL sets up dependencies that
prevent you from dropping the sequence as a separate entity, while an
INT column with a handmade DEFAULT expression doesn't.
Ideally, a SERIAL column would completely hide the fact that it's made
from a sequence and a default expression. We're not there yet ... but
7.3 is closer than ever before. (It'd be interesting to look at whether
Rod Taylor's DOMAIN work could help button things up.)
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Palle Girgensohn | 2002-12-31 04:47:54 | Re: why was libpq.so's version number bumped? |
Previous Message | Christopher Kings-Lynne | 2002-12-31 02:01:34 | Re: why was libpq.so's version number bumped? |