Re: Multiple statements in one prepare

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Robert Turnbull" <rturnbull(at)strategicmind(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Multiple statements in one prepare
Date: 2004-04-20 22:03:17
Message-ID: 22679.1082498597@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Robert Turnbull" <rturnbull(at)strategicmind(dot)com> writes:
> How can multiple SQL statements be included in one prepare command?

They can't. Consider using a plpgsql function, instead.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-04-21 00:39:20 Re: [Pgreplication-general] converting the DBMirror as peer-to-peer
Previous Message Andrew Dunstan 2004-04-20 20:54:25 Re: pg_encoding not needed anymore