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
>