Re: 7.2 stuff

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: 7.2 stuff
Дата
Msg-id 1014611991.2172.3.camel@rh72.home.ee
обсуждение исходный текст
Ответ на Re: 7.2 stuff  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, 2002-02-25 at 07:53, Tom Lane wrote:
> "Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> > * ALTER TABLE DROP PRIMARY KEY
> > - Done, will need review
> > * ALTER TABLE DROP UNIQUE
> > - Done, will need review
> 
> > I'll dredge this up again if I can.  All it does is add a standards
> > compliant alternative syntax for dropping those constraints.  Tom - can you
> > just do this in the parser, like you did it for the ADD constraints???
> 
> I don't foresee it falling out of other parser work, if that's what you
> mean.  If you want it done in the parser you'll have to do it yourself.
> 
> There are some semantic issues, eg: what does it mean to do ALTER TABLE
> DROP PRIMARY KEY in an inheritance hierarchy?  Does every child lose its
> primary key (if any), even if it's not inherited from the parent?

Probably not as the primary key is currently not inherited when doing
create. 

------------
Hannu


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Adam"
Дата:
Сообщение: setting up a trace through extended stored procedures
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: 7.2 stuff