From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
Cc: | Richard Huxton <dev(at)archonet(dot)com>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg_advisor schema proof of concept |
Date: | 2004-03-24 15:52:58 |
Message-ID: | 18528.1080143578@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> writes:
>>> (1) should it use pg_catalog.* or information_schema.*?
>>
>> Not sure portability is important, but using information_schema will
>> presumably make it less likely that things will change between versions.
> Another issue I found is that, although all the contents of
> information_schema can be found in pg_catalog (as it derives from it!) not
> all of pg_catalog may be found in information_schema...
This is necessarily so, as the information_schema by definition covers
only concepts standardized by the SQL spec. Since the SQL spec
considers things like indexes to be implementation details, it is simply
not possible for information_schema to tell you everything you want to
know to give performance advice.
>> If plpgsql works OK, I say stick with it.
> Hmmm. I'm not very happy with plpgsql,
I don't know where you are planning on going with this. If it's only to
be a contrib tool, it's okay to depend on plpgsql. But we couldn't
incorporate it into the base system because plpgsql isn't part of the
base system.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Sullivan | 2004-03-24 16:17:33 | Re: Log rotation |
Previous Message | Frank Wiles | 2004-03-24 15:29:09 | Re: subversion vs cvs (Was: Re: linked list rewrite) |