Re: Implementing replace function - Mailing list pgsql-general

From Pavel Stehule
Subject Re: Implementing replace function
Date
Msg-id AANLkTi=UGO6Zq_8d5bruhpp1WhU3q6csa3vL0CmFpvAC@mail.gmail.com
Whole thread Raw
In response to Re: Implementing replace function  (Alexander Farber <alexander.farber@gmail.com>)
List pgsql-general
2010/10/31 Alexander Farber <alexander.farber@gmail.com>:
> Thanks for all the comments.
>
> Do I need to use BEGIN/COMMIT in my plpgsql-function for UPSERT or are
> functions atomic?

If you use a code from documentation, then you don't need explicit
transaction - every SQL run inside outer implicit transaction in
PostgreSQL.

Pavel

>
> Regards
> Alex
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

pgsql-general by date:

Previous
From: Alexander Farber
Date:
Subject: Re: Implementing replace function
Next
From: Pavel Stehule
Date:
Subject: Re: Implementing replace function