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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] reverse file descriptor to a file name...
Дата
Msg-id 199804112303.TAA04340@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] reverse file descriptor to a file name...  (The Hermit Hacker <scrappy@hub.org>)
Список 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@candle.pha.pa.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)

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ryan Kirkpatrick
Дата:
Сообщение: Re: [HACKERS] Linux/Alpha and pgsql....
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Strange...