Joshua D. Drake wrote:
> Hello,
> 
> Is this really a TODO or is this someone being overzealous with the TODO
> list?

>  Add a GUC to control whether BEGIN inside a transcation should abort
> the transaction.

Well, right now, BEGIN inside a transaction just issues a warning:

        test=> BEGIN;
        BEGIN
        test=> BEGIN;
        WARNING:  there is already a transaction in progress
        BEGIN
        test=> SELECT 1;
         ?column?
        ----------
                1
        (1 row)
        
        test=> COMMIT;
        COMMIT

I think you can make the case that this should be an error, or at least
that's how it got on the TODO list.  I can always remove it if people
don't want the item completed.

-- 
  Bruce Momjian   [EMAIL PROTECTED]
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to