I have overhauled the use of RelationGetRelationName() to it is used
more often.

I have added a new macro NameStr to get a char * from Name.  No more:

	var.data
	&var
	var->data

to access Name as a character string.

Also, several calls to nameout() were removed and changed to
pstrdup(NameStr(var)).  Clearer what is going on.

Can't run regression tests because of psql changes, but at least initdb
worked, and I can query my database.

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

Sun, 7 Nov 1999 18:03:05 -0500 (EST)
Bruce Momjian <maillist@candle.pha.pa.us>
New NameStr() macro, RelationGetRelationName fixes
On 1999-11-07, Bruce Momjian mentioned:

> I have overhauled the use of RelationGetRelationName() to it is used
> more often.
> 
> I have added a new macro NameStr to get a char * from Name.  No more:
> 
> 	var.data
> 	&var
> 	var->data
> 
> to access Name as a character string.
> 
> Also, several calls to nameout() were removed and changed to
> pstrdup(NameStr(var)).  Clearer what is going on.
> 
> Can't run regression tests because of psql changes, but at least initdb
> worked, and I can query my database.

Use the old one.

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


Mon, 8 Nov 1999 22:22:58 +0100 (CET)
Peter Eisentraut <peter_e@gmx.net>
Re: [HACKERS] New NameStr() macro, RelationGetRelationName fixes