Re: libpq: PQfnumber overload for not null-terminated strings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpq: PQfnumber overload for not null-terminated strings
Дата
Msg-id 1504058.1708879566@sss.pgh.pa.us
обсуждение исходный текст
Ответ на libpq: PQfnumber overload for not null-terminated strings  (Ivan Trofimov <i.trofimow@yandex.ru>)
Ответы Re: libpq: PQfnumber overload for not null-terminated strings  (Ivan Trofimov <i.trofimow@yandex.ru>)
Список pgsql-hackers
Ivan Trofimov <i.trofimow@yandex.ru> writes:
> Would you be willing to review a patch that adds an `PQfnumber` overload 
> that takes a `field_name` size as well?

I'm a little skeptical of this idea.  If you need counted strings
for PQfnumber, wouldn't you need them for every single other
string-based API in libpq as well?  That's not a lift that I think
we'd want to undertake.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Preserve subscription OIDs during pg_upgrade
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Patch: Add parse_type Function