Richard Huxton wrote:
> Mark Morgan Lloyd wrote:
>> Alternatively I appreciate that I could use PL/pgSQL but that would
>> assume that if I sent the sequence of operations to somebody else that
>> he also had it compiled into his server.
>
> Well, pl/pgsql has been automatically included in all recent version of
> PG. You might have to issue "CREATE LANGUAGE plpgsql" in the database
> first (permissions might be an issue I suppose) but that's all.
Thanks, I'd forgotten it was built by default.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]