I'd like to move the typedef for AclId out of miscadmin.h, where it was
originally placed, and into postgres.h or c.h where most other fundamental
typedefs appear.  As is, we've got a problem with miscadmin.h having
to be included into many header files where it doesn't belong, and that
problem is going to get worse.

Any objection?

			regards, tom lane

Sun, 05 Jan 2003 19:17:53 -0500
Tom Lane <tgl@sss.pgh.pa.us>
AclId is defined in the wrong place
Tom Lane wrote:
> I'd like to move the typedef for AclId out of miscadmin.h, where it was
> originally placed, and into postgres.h or c.h where most other fundamental
> typedefs appear.  As is, we've got a problem with miscadmin.h having
> to be included into many header files where it doesn't belong, and that
> problem is going to get worse.
> 
> Any objection?

No problem, go ahead.  I put it there only because I needed it for some
of the prototypes, and I didn't want to be so bold as to move it even
farther up into the include system, but if you like it there, that is
fine.  I did quite a bit of wholesale AclId mapping so you may want to
look at the patch to see where I had to add miscadmin.h.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Sun, 5 Jan 2003 22:36:01 -0500 (EST)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: AclId is defined in the wrong place
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> No problem, go ahead.  I put it there only because I needed it for some
> of the prototypes, and I didn't want to be so bold as to move it even
> farther up into the include system,

Properly so --- but if the consequence is to have to include miscadmin.h
into other header files, then really you're polluting namespace more
rather than less, because of the other baggage carried along by
miscadmin.h.

			regards, tom lane

Sun, 05 Jan 2003 22:40:46 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Re: AclId is defined in the wrong place 