Re: Imperfect solutions

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Imperfect solutions
Дата
Msg-id 200106010445.f514jjb26575@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Imperfect solutions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> > I think there are a few rules we can use to decide how to deal with
> > imperfect solutions:
> 
> You forgot
> 
> * will the fix institutionalize user-visible behavior that will in the
>   long run be considered the wrong thing?
> 
> * will the fix contort new code that is written in the same vicinity,
>   thereby making it harder and harder to replace as time goes on?
> 
> The first of these is the core of my concern about %TYPE.

I was thinking about this.  Seems if we want to emulate Oracle, we have
to make %TYPE visible the way it is implemented in the patch.  We can
make it track table changes or not, but it doesn't seem we have much
latitude in how we make it visible to users.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: extra syntax on INSERT
Следующее
От: Pascal Scheffers
Дата:
Сообщение: Re: Support for %TYPE in CREATE FUNCTION