Re: Proposal: variant of regclass

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Proposal: variant of regclass
Дата
Msg-id 52A09462.6070205@gmx.net
обсуждение исходный текст
Ответ на Re: Proposal: variant of regclass  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Proposal: variant of regclass
Список pgsql-hackers
On 12/5/13, 9:41 AM, Tom Lane wrote:
> 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".

We could invent some sneaky syntax variants, like 'pg_klass'::regclass
errors, but '?pg_klass'::regclass does not.





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

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