Thread: Move get_grosysid() to utils/cache/lsyscache.c

Move get_grosysid() to utils/cache/lsyscache.c

From
Stephen Frost
Date:
Greetings,

  Small patch to move get_grosysid() from catalog/aclchk.c to
  utils/cache/lsyscache.c where it can be used by other things.  Also
  cleans up both get_usesysid() and get_grosysid() a bit.  This is in
  preparation for 'Group Ownership' support.

      Thanks,

        Stephen

Attachment

Re: Move get_grosysid() to utils/cache/lsyscache.c

From
Bruce Momjian
Date:
This has been saved for the 8.1 release:

    http:/momjian.postgresql.org/cgi-bin/pgpatches2

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

Stephen Frost wrote:
> Greetings,
>
>   Small patch to move get_grosysid() from catalog/aclchk.c to
>   utils/cache/lsyscache.c where it can be used by other things.  Also
>   cleans up both get_usesysid() and get_grosysid() a bit.  This is in
>   preparation for 'Group Ownership' support.
>
>       Thanks,
>
>         Stephen

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match

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

Re: Move get_grosysid() to utils/cache/lsyscache.c

From
Neil Conway
Date:
On Wed, 2004-12-29 at 11:36 -0500, Stephen Frost wrote:
>   Small patch to move get_grosysid() from catalog/aclchk.c to
>   utils/cache/lsyscache.c where it can be used by other things.  Also
>   cleans up both get_usesysid() and get_grosysid() a bit.  This is in
>   preparation for 'Group Ownership' support.

I'll apply this to HEAD tomorrow, barring any objections.

-Neil



Re: Move get_grosysid() to utils/cache/lsyscache.c

From
Neil Conway
Date:
On Wed, 2004-12-29 at 11:36 -0500, Stephen Frost wrote:
>   Small patch to move get_grosysid() from catalog/aclchk.c to
>   utils/cache/lsyscache.c where it can be used by other things.  Also
>   cleans up both get_usesysid() and get_grosysid() a bit.

Applied to HEAD. Thanks for the patch.

-Neil