Re: Quick Help

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Quick Help
Дата
Msg-id 13260.1039210461@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Quick Help  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> Messing about with ADD COLUMN...

> I'm not certain how to re-evaluate the default expression for each
> row?

Basically you'll want to apply ExecEvalExpr (or perhaps
ExecEvalExprSwitchContext) to the "cooked" expression tree.
Look at the execution of per-row constraints in ADD CONSTRAINT;
should be very very similar.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SQL/MED spec for cross-database linkages
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: [GENERAL] PostgreSQL Global Development Group