Re: BUG #5662: Incomplete view

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: saera87(at)hotmail(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5662: Incomplete view
Date: 2010-09-22 13:09:00
Message-ID: 1285160940.15691.46.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

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?

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message tkbysh2000 2010-09-22 13:30:40 Re: BUG #5661: The character encoding in logfile is confusing.
Previous Message Peter Eisentraut 2010-09-22 12:43:02 Re: BUG #5661: The character encoding in logfile is confusing.

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2010-09-22 13:09:31 Re: snapshot generation broken
Previous Message Kevin Grittner 2010-09-22 13:08:23 Re: Do we need a ShmList implementation?