Обсуждение: Creating a row during a select

Поиск
Список
Период
Сортировка

Creating a row during a select

От
Michal Paluchowski
Дата:
Hi,

is there a way to have PostgreSQL insert a new row into a table during
a SELECT query if no row is found by that query?


--
Best regards,
 Michal                          mailto:mpaluchowski@gmail.com


Re: Creating a row during a select

От
"Dmitry Koterov"
Дата:
Try to read about CREATE RULE in the documentation.

On 8/14/07, Michal Paluchowski <mpaluchowski@gmail.com > wrote:

Hi,

is there a way to have PostgreSQL insert a new row into a table during
a SELECT query if no row is found by that query?


--
Best regards,
Michal                          mailto:mpaluchowski@gmail.com


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq