Re: [HACKERS] New NameStr() macro, RelationGetRelationName fixes

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] New NameStr() macro, RelationGetRelationName fixes
Date: 1999-11-08 21:22:58
Message-ID: Pine.LNX.4.20.9911082222400.4161-100000@peter-e.yi.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SEV 1999-11-08 22:00:29 AW: [HACKERS] Re: [GENERAL] users in Postgresql
Previous Message Bruce Momjian 1999-11-08 21:22:19 Re: [HACKERS] New psql input mode problems