pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: c k <shreeseva.learning@gmail.com>
To: pgsql-general@postgresql.org
To: pgsql-admin@postgresql.org
Subject: Functions
Date: Mon, 15 Sep 2008 22:25:38 +0530
Message-ID: <d8e7a1e30809150955v32f01897wa900261ac86af34b@mail.gmail.com> (raw)

Dear PG members,I want to know that does begin and end in plpgsql are
related to begin transactions and commit? if yes/no how? If I start to
execute a function of multiple statements does PG commits each transaction
within a function, or whole function as a transaction.
Also if first statement makes inserts/updates a row, does it automatically
available to that particular function execution only or to any other
instances of same function?
Please give the details.

In my system, function are extensively used and cab called by different
clients as ODBC, JDBC and others.

Thanks for help,

CPK

view thread (12+ messages)  latest in thread

Message-ID: <d8e7a1e30809150955v32f01897wa900261ac86af34b@mail.gmail.com>
Permalink:  ../d8e7a1e30809150955v32f01897wa900261ac86af34b@mail.gmail.com/
Also on:    postgresql.org/message-id/d8e7a1e30809150955v32f01897wa900261ac86af34b@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: shreeseva.learning@gmail.com, pgsql-general@postgresql.org
  Subject: Re: Functions
  In-Reply-To: <d8e7a1e30809150955v32f01897wa900261ac86af34b@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox