Re: Forbid finishing a prepared transaction from another database

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Forbid finishing a prepared transaction from another database
Date: 2007-02-13 19:42:03
Message-ID: 4758.1171395723@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Heikki Linnakangas <heikki(at)enterprisedb(dot)com> writes:
> Throw an error if you try to COMMIT/ROLLBACK PREPARED from a database
> other than the one where the transaction was originally prepared.

Committed, but I made it ERRCODE_FEATURE_NOT_SUPPORTED, since this seems
to me to be in the nature of something we might fix someday (if anyone
gets motivated enough), not a that's-nonsensical error.

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-02-13 23:17:03 Re: [HACKERS] Another aspect of set_ps_display ()
Previous Message Heikki Linnakangas 2007-02-13 18:44:56 Forbid finishing a prepared transaction from another database