Re: Slightly inconsistent behaviour in regproc?

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Slightly inconsistent behaviour in regproc?
Дата
Msg-id 3F9E0BE8.20603@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Slightly inconsistent behaviour in regproc?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Slightly inconsistent behaviour in regproc?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>>Only regproc adds the unnecessary pg_catalog. qualification, why is that?
> 
> 
> Er, I couldn't see the part of your example where that happened?

Basically, my question is why ::regproc alone always addes the catalogue 
qualification in this case?

Rows below correspond to:

::regtype
::regtype
::regprocedure
::regproc

-[ RECORD 1 ]----------------------------------------
castsource | "char"
casttarget | text
castfunc   | text("char")
castfunc2  | pg_catalog.text

eg. Why is it not:

-[ RECORD 1 ]----------------------------------------
castsource | "char"
casttarget | text
castfunc   | text("char")
castfunc2  | text

Or even:

-[ RECORD 1 ]----------------------------------------
castsource | pg_catalog."char"
casttarget | pg_catalog.text
castfunc   | pg_catalog.text("char")
castfunc2  | pg_catalog.text

Chris




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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Horology failures
Следующее
От: "Andrew Dunstan"
Дата:
Сообщение: limiting parallelism in "make check"