Re: [HACKERS] reverse file descriptor to a file name...

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] reverse file descriptor to a file name...
Date: 1998-04-11 09:11:41
Message-ID: Pine.BSF.3.96.980411061114.292A-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 10 Apr 1998, Bruce Momjian wrote:

> >
> > Oops...I must be using that wrong...I'm getting:
> >
> > NOTICE: Message from PostgreSQL backend: The Postmaster has informed me
> > that some other backend died abnormally and possibly corrupted
> > shared memory. I have rolled back the current transaction and am
> > going to terminate your database system connection and exit.
> > Please reconnect to the database system and repeat your query.
> >
> >
> > relname is of type NameData ... NameData is a struct, so shouldn't
> > it be:
> >
> > Relation->rd_rel->relname->data
> >
> > But, NameData only has one component, data...why make it a struct?
>
> Yep, you are right. They make is a struct so they can pass it around
> by-value, rather than the normal pointer by-reference for normal arrays.

Well, that would explain *that* problem :)

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1998-04-11 09:15:10 Re: [HACKERS] reverse file descriptor to a file name...
Previous Message Bruce Momjian 1998-04-11 01:59:09 Re: [HACKERS] Linux/Alpha and pgsql....