Re: PL/Python result metadata

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: PL/Python result metadata
Дата
Msg-id m2ty41vrek.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на PL/Python result metadata  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: PL/Python result metadata  (Jan Urbański <wulczer@wulczer.org>)
Re: PL/Python result metadata  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> .colnames() returns a list of column names (strings)
> .coltypes() returns a list of type OIDs (integers)
>
> I just made that up because there is no guidance in the other standard
> PLs for this sort of thing, AFAICT.

What about having the same or comparable API as in psycopg or DB API
 http://initd.org/psycopg/docs/cursor.html

You could expose a py.description structure?
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: pg_basebackup is not checking IDENTIFY_SYSTEM numbre of columns
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: pg_basebackup is not checking IDENTIFY_SYSTEM numbre of columns