pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: Alan Chandler <alan@chandlerfamily.org.uk>
Cc: pgsql-sql@postgresql.org
Subject: Re: Matching the MYSQL "Describe <table-name>" command
Date: Mon, 25 Apr 2005 00:53:37 -0400
Message-ID: <10192.1114404817@sss.pgh.pa.us> (raw)
In-Reply-To: <20050424185324.GD27470@ns.snowman.net>
References: <200504241902.16770.alan@chandlerfamily.org.uk>
	<20050424185324.GD27470@ns.snowman.net>

Stephen Frost <sfrost@snowman.net> writes:
> You might want to take a look at the schema called 'information_schema'
> and see if you can find what you want there.  The only problem I have
> with that, currently anyway, is that it seems to only show things the
> current user owns as opposted to what the current user has access to,
> which seems a bit silly to me.

The SQL99 spec defines some of the views as showing only what you own,
and others as showing whatever you have access to.  I think we track
the spec, but feel free to point out discrepancies.

			regards, tom lane



view thread (5+ messages)

Message-ID: <10192.1114404817@sss.pgh.pa.us>
Permalink:  ../10192.1114404817@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10192.1114404817@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, sfrost@snowman.net, alan@chandlerfamily.org.uk
  Subject: Re: Matching the MYSQL "Describe <table-name>" command
  In-Reply-To: <10192.1114404817@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox