From: rossel at peranto.de (Andreas Rossel) Date: Mon, 18 Feb 2008 13:05:16 +0100 Subject: [Pljava-dev] User defined Function In-Reply-To: References: <001201c86c96$60e713f0$a5c8a8c0@perantoarr> Message-ID: <002d01c87226$86c7bda0$a5c8a8c0@perantoarr> :~\-----Urspr?ngliche Nachricht----- :~\Von: Kris Jurka [mailto:books at ejurka.com] :~\Gesendet: Samstag, 16. Februar 2008 00:52 :~\ :~\On Mon, 11 Feb 2008, Andreas Rossel wrote: :~\ :~\> But if I trie to call the function i get an error message. The command: :~\> :~\> select testeiner(1); :~\> :~\> ERROR: function testeiner(integer) does not exist :~\ :~\This is because the javatest schema is not in your search_path. PG will :~\only look for functions in the schemas you tell it to. :~\ :~\http://www.postgresql.org/docs/8.3/static/ddl-schemas.html#DDL-SCHEMAS-PATH :~\ OK, now I know the difference between sqlj.set_classpath() and search_path ... Thanks for the hint. Andreas