Re: Proposal: variant of regclass

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proposal: variant of regclass
Дата
Msg-id 14770.1386254517@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Proposal: variant of regclass  (Pavel Golub <pavel@microolap.com>)
Ответы Re: Proposal: variant of regclass
Re: Proposal: variant of regclass
Список pgsql-hackers
Pavel Golub <pavel@microolap.com> writes:
> I personally see two approaches:
> 1. Implement GUC variable controling this behaviour per session
> 2. Introduce new safe reg* variables, e.g. "sregclass", "sregtype" etc.

I don't think new types are a good idea.  If we are afraid to change
the behavior of the input converters, what we should do is introduce
new functions, eg "toregclass(text) returns regclass".
        regards, tom lane



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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Why we are going to have to go DirectIO
Следующее
От: Andres Freund
Дата:
Сообщение: Re: same-address mappings vs. relative pointers