[HACKERS] [Q] When should I use reg* types instead of oid in the system catalog?

Поиск
Список
Период
Сортировка
От MauMau
Тема [HACKERS] [Q] When should I use reg* types instead of oid in the system catalog?
Дата
Msg-id 7D4ECED3312448189CC80694BDB11D8D@tunaPC
обсуждение исходный текст
Ответы Re: [HACKERS] [Q] When should I use reg* types instead of oid in the system catalog?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hello,


Both pg_aggregate.aggfnoid and pg_trigger.tgfoid references
pg_proc.oid, but the data types of them are regproc and oid
respectively.  Is there any criterion on when to which in the system
catalog?  Is the regproc choice just for readability of the catalog
query output?  Should pg_trigger.tgfoid also have been changed to
regproc?

Regards
MauMau




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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: [HACKERS] proposal psql \gdesc
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: [HACKERS] proposal psql \gdesc