Re: lock listing - Mailing list pgsql-patches

From Tom Lane
Subject Re: lock listing
Date
Msg-id 18501.1028144107@sss.pgh.pa.us
Whole thread Raw
In response to Re: lock listing  (nconway@klamath.dyndns.org (Neil Conway))
List pgsql-patches
nconway@klamath.dyndns.org (Neil Conway) writes:
> There's no problem with wrapping a view over the table function -- but
> IMHO using 5 different functions when one would suffice is just ugly.

Right.  The way the pg_stats functions are implemented is actually
pretty ugly; it was forced by the lack of support for functions
returning tuples in 7.2, but I'm not sure why we'd want to copy it now.

I do agree with providing a view wrapper over the function, for the
reasons Rod mentioned.

            regards, tom lane

pgsql-patches by date:

Previous
From: nconway@klamath.dyndns.org (Neil Conway)
Date:
Subject: Re: lock listing
Next
From: nconway@klamath.dyndns.org (Neil Conway)
Date:
Subject: prepareable statements