Re: BUG #5662: Incomplete view - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #5662: Incomplete view
Date
Msg-id 1285160940.15691.46.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: BUG #5662: Incomplete view  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #5662: Incomplete view  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On sön, 2010-09-19 at 14:28 -0400, Tom Lane wrote:
> What about inventing a function to extract a sequence's parameters?
> Perhaps something like
>
>         pg_sequence_parameter(seq regclass, colname text) returns
> bigint
>
> which would do an appropriate permissions check and then fetch the
> named column.  (This could actually be implemented in a line or two in
> plpgsql, but I think we want it in C because information_schema
> shouldn't depend on plpgsql.)

Why shouldn't it?

pgsql-bugs by date:

Previous
From: "Benjamin Gigot"
Date:
Subject: BUG #5672: Can't input julian days BC
Next
From: Tom Lane
Date:
Subject: Re: BUG #5662: Incomplete view