Received: from baby.dcc.dp.ua (baby.dcc.dp.ua [195.24.157.226]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eAB3TNs56955; Fri, 10 Nov 2000 22:29:24 -0500 (EST) (envelope-from vic@dcc.dp.ua) Received: from dcc.dp.ua (vic.dcc.intranet [192.168.83.246]) by baby.dcc.dp.ua (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id EAA07356; Sat, 11 Nov 2000 04:39:48 +0200 Message-ID: <3A0CBD8A.B349C042@dcc.dp.ua> Date: Sat, 11 Nov 2000 05:31:22 +0200 From: Vic Organization: DCC X-Mailer: Mozilla 4.7 [ru] (Win98; I) X-Accept-Language: ru MIME-Version: 1.0 To: pgsql-novice@postgresql.org, pgsql-interfaces@postgresql.org Subject: Pl/Sql Error (may be..... ) Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Archive-Number: 200011/122 X-Sequence-Number: 158 I attach(create language) language PL/pgSQL in PG and create test function (cut it from help ) : --Просто склеить строки в одну CREATE FUNCTION ct1(text, text) RETURNS text AS ' BEGIN RETURN $1 || $2; END; ' LANGUAGE 'plpgsql'; So that is my log : pvic@ses:~ > pslq stoage bash: pslq: command not found pvic@ses:~ > psql storage Welcome to the POSTGRESQL interactive sql monitor: Please read the file COPYRIGHT for copyright terms of POSTGRESQL [PostgreSQL 7.0.2 on i686-pc-linux-gnu, compiled by gcc egcs-2.91.66] type \? for help on slash commands type \q to quit type \g or terminate with semicolon to execute query You are currently connected to the database: storage storage=> select ct1('ddd','ddd'); ERROR: plpgsql: cache lookup from pg_proc failed Can anyone tell me how correct this error and/or its my mistake or PG bug ? Thanks in advance. Vic (AKA MorDoor)