Re: Wanted: RelationIsVisible interface

From: Joe Conway <mail(at)joeconway(dot)com>
To: Greg Sabino Mullane <greg(at)turnstep(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Wanted: RelationIsVisible interface
Date: 2002-08-09 22:41:33
Message-ID: 3D54451D.6090501@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Sabino Mullane wrote:
> At any rate, I will play with the RelationIsVisible stuff when somebody
> writes a SQL interface to it (or I write it myself, but that will take
> quite a long time :)
>

Looks like Tom just committed this; see:

http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/catalog/namespace.c.diff?r1=1.29&r2=1.30

Datum pg_table_is_visible(PG_FUNCTION_ARGS);
Datum pg_type_is_visible(PG_FUNCTION_ARGS);
Datum pg_function_is_visible(PG_FUNCTION_ARGS);
Datum pg_operator_is_visible(PG_FUNCTION_ARGS);
Datum pg_opclass_is_visible(PG_FUNCTION_ARGS);

They all accept an oid and return bool.

Joe

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2002-08-09 22:50:10 Re: Proposal for psql wildcarding behavior w/schemas
Previous Message Yuva Chandolu 2002-08-09 22:40:52 Problem with lower() function