Re: [Fwd: plpgsql and booleans?]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [Fwd: plpgsql and booleans?]
Дата
Msg-id 24480.1074616126@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [Fwd: plpgsql and booleans?]  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: [Fwd: plpgsql and booleans?]  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> When writing a PL/pgSQL trigger function how do you handle the case :

> EXECUTE ''UPDATE test_table SET test_col '' || 
> quote_literal(NEW.test_col2) || '';'';

Seems it'd be easier without EXECUTE:
UPDATE test_table SET test_col = NEW.test_col2;
        regards, tom lane


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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: PostGIS dropgeometrycolumn function (Was: Re: [7.4] "permissions problem" with pl/pgsql function )
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PostGIS dropgeometrycolumn function (Was: Re: [7.4] "permissions problem" with pl/pgsql function )