Re: Inserting a needed record before a select

Поиск
Список
Период
Сортировка
От Jay O'Connor
Тема Re: Inserting a needed record before a select
Дата
Msg-id 3.0.1.32.20030414130911.0085ae90@cybermesa.com
обсуждение исходный текст
Ответ на Re: Inserting a needed record before a select  ("scott.marlowe" <scott.marlowe@ihs.com>)
Ответы Re: Inserting a needed record before a select  ("scott.marlowe" <scott.marlowe@ihs.com>)
Список pgsql-general
At 12:27 PM 04/14/2003 -0600, scott.marlowe wrote:

>Crap, sorry, you're right.  You'll need to use a rule.  Rules are simpler
>than triggers / functions.  They're described in the programmer's guide,
>section 13 for 7.3.2.

Problem is RULEs don't seem to have the sophistication I need (boolean
logic...search for a record and if it doesn't exists, insert it, then
re-SELECT on the same table)

Take care,
Jay


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

Предыдущее
От: "Ed L."
Дата:
Сообщение: Re: Batch replication ordering (was Re: [GENERAL] 32/64-bit
Следующее
От: Dennis Gearon
Дата:
Сообщение: Re: Batch replication ordering (was Re: [GENERAL] 32/64-bit