other changes

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: hackers(at)postgreSQL(dot)org (PostgreSQL-development)
Subject: other changes
Date: 1998-08-31 04:58:37
Message-ID: 199808310458.AAA08073@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Also, during the pgindent run, we have TypeTupleForm and
AttributeTupleForm, while we also have Form_pg_class, etc.

Seems they should be named similar. It will make the Developers FAQ
item 9 easier to understand if we have uniform way to cast a HeapTuple
pointer.

TypeTupleForm -> Form_pg_type

In fact the comments in pg_type.h talk about Form_pg_type, but they then
define TypeTupleForm.

Any problems with changing this?

---------------------------------------------------------------------------

/* ----------------
* Form_pg_type corresponds to a pointer to a row with
* the format of pg_type relation.
* ----------------
*/
typedef TypeTupleFormData *TypeTupleForm;

--
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)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 1998-08-31 05:04:13 Re: [HACKERS] encoding problem
Previous Message Bruce Momjian 1998-08-31 04:54:43 items for cleanup