Re: [HACKERS] DROP TABLE inside a transaction block - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] DROP TABLE inside a transaction block
Date
Msg-id 200003090200.VAA08228@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] DROP TABLE inside a transaction block  ("Ross J. Reedstrom" <reedstrm@wallace.ece.rice.edu>)
List pgsql-hackers
> > > Most problems where code that used RelationGetPhysicalRelationName
> > > when they it should use RelationGetRelationName. In several cases,
> > > the code assumed RelationGetPhysicalRelationName handed them a
> > > pointer to rd_rel->relname, which they copy into! I substituted
> > > RelationGetRelationName for all these cases.
> > 
> > Please send in a patch on those if they need to be corrected, OK?
> > 
> 
> Once I'm sure it's the Right Thing To Do, I will. That's probably
> the only clean part of the ugly hack I've done so far.

I was just really interested in places where
RelationGetPhysicalRelationName() and RelationGetRelationName() where
called incorrectly.  That can go into 7.0.

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Transaction abortions & recovery handling
Next
From: Ed Loehr
Date:
Subject: Re: [HACKERS] Transaction abortions & recovery handling