pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: saera87@hotmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5662: Incomplete view
Date: Wed, 22 Sep 2010 16:09:00 +0300
Message-ID: <1285160940.15691.46.camel@vanquo.pezone.net> (raw)
In-Reply-To: <6630.1284920898@sss.pgh.pa.us>
References: <201009190941.o8J9fT6H048689@wwwmaster.postgresql.org>
	<1284918458.20510.0.camel@vanquo.pezone.net>
	<6630.1284920898@sss.pgh.pa.us>

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?




view thread (7+ messages)  latest in thread

Message-ID: <1285160940.15691.46.camel@vanquo.pezone.net>
Permalink:  ../1285160940.15691.46.camel@vanquo.pezone.net/
Also on:    postgresql.org/message-id/1285160940.15691.46.camel@vanquo.pezone.net

 · 

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-hackers@postgresql.org
  Cc: peter_e@gmx.net, tgl@sss.pgh.pa.us, saera87@hotmail.com, pgsql-bugs@postgresql.org
  Subject: Re: BUG #5662: Incomplete view
  In-Reply-To: <1285160940.15691.46.camel@vanquo.pezone.net>

* 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