From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | scrappy(at)hub(dot)org (The Hermit Hacker) |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] reverse file descriptor to a file name... |
Date: | 1998-04-11 01:58:11 |
Message-ID: | 199804110158.VAA01593@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>
> 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.
Perhaps I should do a layout for the PostgreSQL data structures as I
have done a flowchart for the backend program files.
--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1998-04-11 01:59:09 | Re: [HACKERS] Linux/Alpha and pgsql.... |
Previous Message | Bruce Momjian | 1998-04-11 01:56:32 | Re: [HACKERS] Linux/Alpha and pgsql.... |