Re: Re: [HACKERS] contrib - Mailing list pgsql-patches

From Joe Conway
Subject Re: Re: [HACKERS] contrib
Date
Msg-id 016a01c0dd06$efb89e90$0705a8c0@jecw2k1
Whole thread Raw
In response to Re: [HACKERS] contrib  ("Joe Conway" <joe@conway-family.com>)
List pgsql-patches
>
> Just out of curiosity, why are these needed for TABLE_PRIVILEGES?
>

Only one is really needed for that purpose, current_dbname. TABLE_PRIVILEGES
defines the field TABLE_CATALOG which should be set to the current database
name. In MSSQL7 you can get the current database using a function called
DB_NAME(). In Oracle, you can get it by querying for NAME from V_$DATABASE.

-- Joe



pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [HACKERS] contrib
Next
From: Bruce Momjian
Date:
Subject: Re: GIST question