Re: alter table drop column status
| От | Christopher Kings-Lynne |
|---|---|
| Тема | Re: alter table drop column status |
| Дата | |
| Msg-id | GNELIHDDFBOCMGBFGEFOEEHJCBAA.chriskl@familyhealth.com.au обсуждение исходный текст |
| Ответ на | Re: alter table drop column status (Kovacs Zoltan <kovacsz@pc10.radnoti-szeged.sulinet.hu>) |
| Список | pgsql-hackers |
Hi Zoltan, I'd love to see a pl/pgsql funciton to drop a column submitted to the list. I'll submit a set null / set not null one and maybe we can make up a little package of functions for techdocs.postgres.org. In fact, getting these pl/pgsql functions right will make it easier to write C versions, which might make it easier to integrate the functionality directly into postgres... Chris > -----Original Message----- > From: Kovacs Zoltan [mailto:kovacsz@pc10.radnoti-szeged.sulinet.hu] > Sent: Wednesday, 20 February 2002 2:07 AM > To: Tom Lane > Cc: Christopher Kings-Lynne; jm.poure@freesurf.fr; Hiroshi Inoue; > dpage@pgadmin.org; pgsql-hackers@postgresql.org > Subject: Re: [HACKERS] alter table drop column status > > > > > I'm afraid LOCK is not available inside a PLPGSQL function > > > > Works fine for me ... > > Hmm, it works for me, too. OK, I see no more rocks ahead writing a PLPGSQL > function which drops a column. It'll be slow, but it'll work. However, a C > function would be better. Unfortunately I have no experience in writing > libpq or ecpg functions. Is it a problem for you if I contribute a PLPGSQL > code? > > Regards, Zoltan >
В списке pgsql-hackers по дате отправления: