Re: Please advise features in 7.1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Please advise features in 7.1
Дата
Msg-id 5900.974959556@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Please advise features in 7.1  ("John Huttley" <John@mwk.co.nz>)
Список pgsql-hackers
"John Huttley" <John@mwk.co.nz> writes:
> Reason: I want to know if any of these features are scheduled.

> 1. Calculated fields in table definitions . eg.

>    Create table test (
>             A Integer,
>             B integer,
>            the_sum   As  (A+B),
> );

You can do that now (and for many versions past) with a trigger.
It's not quite as convenient as it ought to be, but it's possible.
AFAIK there's no change in that situation for 7.1.

> 2. Any parameterised triggers

We've had parameterized triggers for years.  Maybe you attach some
meaning to that term beyond what I do?

> 3. Any parameterised stored procedures that return a result set.

There is some support (dating back to Berkeley Postquel) for functions
returning sets, but it's pretty ugly and limited.  Proper support might
happen in 7.2 ...
        regards, tom lane


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

Предыдущее
От: "John Huttley"
Дата:
Сообщение: Please advise features in 7.1
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: syslog output from explain looks weird...