Re: Passing enum Parameters to User-defined C-Language Functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Passing enum Parameters to User-defined C-Language Functions
Дата
Msg-id 398801.1698080914@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Passing enum Parameters to User-defined C-Language Functions  (Albrecht Dreß <albrecht.dress@posteo.de>)
Список pgsql-general
Albrecht =?iso-8859-1?b?RHJl3w==?= <albrecht.dress@posteo.de> writes:
> - How would a “mood” parameter be encoded when it is passed to the function?

It's an OID, which you'd have to look up in the pg_enum catalog if
you want to know the string representation.

            regards, tom lane



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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: PostgreSQL inheritance vs https://wiki.postgresql.org/wiki/Don%27t_Do_This
Следующее
От: Achilleas Mantzios
Дата:
Сообщение: Re: PostgreSQL inheritance vs https://wiki.postgresql.org/wiki/Don%27t_Do_This