Re: function language type? - Mailing list pgsql-general

From Ian Turner
Subject Re: function language type?
Date
Msg-id Pine.LNX.4.21.0007251414060.2470-100000@crafter.house
Whole thread Raw
In response to Re: function language type?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: function language type?
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> plpgsql is not installed by default.  See "createlang plpgsql".

OK. Now it barfs on this:

    CREATE TEMPORARY TABLE NextHopTemp (
        num        integer    REFERENCES Sectors PRIMARY KEY,
        prev        integer    REFERENCES Sectors,
        settled        boolean,
        cost        integer,
    );
    RETURN 1;

with the error 'ERROR:  copyObject: don't know how to copy 611'. Does this
mean one is not permitted to create tables (even temporaries!) in a
function?

Thanks for your advice,

Ian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5fgQcfn9ub9ZE1xoRAm/oAKDbnXiIYmAaxWKe91t0Du/UiNYUjgCggFwA
ynGoNrrbLFV8ujrU8yUUBXM=
=wNrE
-----END PGP SIGNATURE-----


pgsql-general by date:

Previous
From: brianb-pggeneral@edsamail.com
Date:
Subject: Tuning: Taking advantage of 2GB RAM
Next
From: Lamar Owen
Date:
Subject: Re: ldconfig questions(plperl.so)