| От | Tom Lane |
|---|---|
| Тема | Re: Proposal: variant of regclass |
| Дата | |
| Msg-id | 16347.1386258770@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Proposal: variant of regclass (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Proposal: variant of regclass
|
| Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes:
>> Another advantage of this approach is that, IIUC, type input functions
>> can't return a NULL value. So 'pg_klass'::regclass could return 0,
>> but not NULL. On the other hand, toregclass('pg_klass') *could*
>> return NULL, which seems conceptually cleaner.
BTW, another arguable advantage of fixing this via new functions is
that users could write equivalent (though no doubt slower) functions
for use in pre-9.4 releases, and thus not need to maintain multiple
versions of app code that relies on this behavior.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера