Re: More schema queries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: More schema queries
Date: 2002-05-17 20:25:49
Message-ID: 7723.1021667149@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Dave Page" <dpage(at)vale-housing(dot)co(dot)uk> writes:
> 1) All the system views are currently part of the public namespace. Not
> a problem for me, but shouldn't they be in pg_catalog?

Say what? They *are* in pg_catalog. initdb creates nothing in public.

> 2) pgAdmin needs to be able to find out the namespace search path for
> the current connection through an SQL query - is this possible yet or
> can/will a suitable function be written?

Either 'show search_path' or 'select current_schemas()' might do what
you want; or perhaps not. Why do you want to know the search path?
What's the scenario in which pgAdmin wouldn't set the search path
for itself?

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2002-05-17 22:23:32 Re: +AFs-HACKERS+AF0- More schema queries
Previous Message Tom Lane 2002-05-17 20:16:18 Re: WIN32 native ... lets start?!?