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 23:03:44 |
Message-ID: | 199804112303.TAA04340@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Odd...rel->rd_rel->relname->data produces:
>
> nbtsearch.c: In function `_bt_moveright':
> nbtsearch.c:223: invalid type argument of `->'
>
> But...rel->rd_rel->relname.data works.
>
> Now, I really really hate pointers to start with...always
> have...but can someone confirm which is (should be) right? :(
Yep, that is right. It takes a little trial-and-error to check the type
of each structure member, and reference it accordingly.
--
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 23:04:49 | Re: [HACKERS] Strange... |
Previous Message | Ryan Kirkpatrick | 1998-04-11 21:41:48 | Re: [HACKERS] Linux/Alpha and pgsql.... |