Re: Should SPI_gettypeid be extended to support returning the typmod?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Should SPI_gettypeid be extended to support returning the typmod?
Дата
Msg-id 2936.1215784795@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Should SPI_gettypeid be extended to support returning the typmod?  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> But the SPI api doesn't actually allow callers to get more than the typeid of
> the types in the result tupledesc of SPI_execute_plan:

> SPI_gettypeid(TupleDesc tupdesc, int fnumber)

> Should this function be replaced with one which allows returning a typmod as
> well?

I'm not too excited about it, since there have been no actual field
requests for such a thing.  It's not like callers can't look into the
tupdesc for themselves, anyway ...
        regards, tom lane


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: CommitFest rules
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Auto-explain patch