Re: Add SPI results constants available for PL/*

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Add SPI results constants available for PL/*
Дата
Msg-id CA+TgmoYCpQxwvzy_dkOH081nHcmMcQq==CGvJM50BTsg4snM3g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add SPI results constants available for PL/*  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: Add SPI results constants available for PL/*  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Tue, Jan 3, 2012 at 9:33 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>> I'd suppose it interesting to add a table to pg_catalog containing this data.
>
> - it is useless overhead

I tend to agree.

> I am expecting so definition some constants in Perl, Python is simple

Presumably one could instead write a script to transform the list of
constants into a .pm file that could be loaded into the background, or
whatever PL/python's equivalent of that concept is.  Not sure if
there's a better way to do it.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: SEGFAULT on SELECT * FROM view
Следующее
От: Robert Haas
Дата:
Сообщение: Re: 16-bit page checksums for 9.2