Re: DROP COLUMN

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: DROP COLUMN
Дата
Msg-id 3D34EE7E.59246094@tpf.co.jp
обсуждение исходный текст
Ответ на Re: DROP COLUMN  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: DROP COLUMN  (Hannu Krosing <hannu@tm.ee>)
Список pgsql-hackers
Bruce Momjian wrote:
> 
> Hiroshi Inoue wrote:
> > Bruce Momjian wrote:
> > >
> > > Hiroshi Inoue wrote:
> 
> > > > BTW would we do nothing for clients after all ?
> > >
> > > Clients will now need to check that dropped flag.
> >
> > Clients would have to check the flag everywhere
> > pg_attribute appears.
> > Why should clients do such a thing ?
> 
> Well, good question.  They could easily skip the dropped columns if we
> used negative attno's because they usually already skip system columns.
> However, they prefered a specific dropped column flag and positive
> attno's.  I don't know why.  They would have to explain.

I don't stick to negative attno's but
> >From my perspective, when client coders like Dave Page and others say
> they would prefer the flag to the negative attno's, I don't have to
> understand.  I just take their word for it.

do they really love to check attisdropped everywhere ?
Isn't it the opposite of the encapsulation ?
I don't understand why we would do nothing for clients.

regards,
Hiroshi Inouehttp://w2422.nsk.ne.jp/~inoue/


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: DROP COLUMN
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Do we still need these NOTICEs?