Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> We [add] a text[] field to pg_shadow and/or pg_database containing
> name=value assignments which are executed just before the session starts.
> Doesn't look terribly difficult, and it's something I've always wanted to
> do anyway.
Seems like a fine idea, with many uses besides this one.
regards, tom lane