"David E. Wheeler" <da...@kineticode.com> wrote:
 
> Unless you could make a kind of "view column" or something where the

> expression was `relpersistence <> 't'`.
 
create or replace function relistemp(rel pg_class)
  returns boolean language sql immutable strict as
  $$select $1.relpersistence = 't';$$;
 
Just don't forget to use the table name or alias in front of it... :-)
 
-Kevin

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to