Re: Problems with ALTER DOMAIN patch

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Problems with ALTER DOMAIN patch
Дата
Msg-id 200212112257.gBBMvLF04015@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Problems with ALTER DOMAIN patch  (Rod Taylor <rbt@rbt.ca>)
Ответы Re: Problems with ALTER DOMAIN patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Rod Taylor wrote:
-- Start of PGP signed section.
> On Wed, 2002-12-11 at 00:05, Tom Lane wrote:
> > Rod Taylor <rbt@rbt.ca> writes:
> > > On Tue, 2002-12-10 at 22:56, Tom Lane wrote:
> > >> relation's pg_class row.  We have no such locks on types at present,
> > >> but I think it may be time to invent 'em.
> > 
> > > I'd be happy to use them once created.
> > 
> > I think you misunderstood me ;=) ... that was a none-too-subtle
> 
> Nope... I understood.  But it could take quite a while.

I have an idea.  Rather than doing some complex locking for types, why
don't we just restrict ALTER DOMAIN to cases where we are the only one
attached to the database, as seen in dropdb().  Seems like an easy way
to get the feature in without adding a new locking method.  Also, it
would allow the regression test to work too because no one is attached
to 'regression' at the time of the test.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PQnotifies() in 7.3 broken?
Следующее
От: Kevin Brown
Дата:
Сообщение: Re: PQnotifies() in 7.3 broken?