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
Re: PL/Python result metadata |
| Список | 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 по дате отправления: