"David E. Wheeler" <david(at)kineticode(dot)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