Re: SP in PostgreSQL

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: SP in PostgreSQL
Date: 2007-01-10 14:30:38
Message-ID: 20070110143037.GD6131@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

am Wed, dem 10.01.2007, um 6:01:41 -0800 mailte Ashish Karalkar folgendes:
> Hello All,
> I am using PostgreSQL 8.2.
>
> I am having 2 SP's ,second one is called from the
> first one. is there any solution to commit the updates
> done by the second SP only??

No, you can't. A function is a transction, you can't do a commit inside.

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message dcrespo 2007-01-10 15:00:35 Re: Postgres Replication
Previous Message James Neff 2007-01-10 14:21:59 pg_dump and very slow database