Re: Creating a row during a select

From: "Dmitry Koterov" <dmitry(at)koterov(dot)ru>
To: "Michal Paluchowski" <mpaluchowski(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Creating a row during a select
Date: 2007-08-14 21:06:58
Message-ID: d7df81620708141406u200cc33cxe34bbeaefd927e12@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Try to read about CREATE RULE in the documentation.

On 8/14/07, Michal Paluchowski <mpaluchowski(at)gmail(dot)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(at)gmail(dot)com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dmitry Koterov 2007-08-14 21:13:10 Re: Persistent connections in PHP
Previous Message Tom Lane 2007-08-14 20:53:32 Re: pqlib in c++: PQconnectStart PQconnectPoll