Received: from odysseus2.dohle.com (odysseus2.dohle.com [194.127.185.20]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eBJIng606611 for ; Tue, 19 Dec 2000 13:49:42 -0500 (EST) (envelope-from vpaul@dohle.com) Received: from majestix.dohle.com (majestix.dohle.com [194.127.190.1]) by odysseus2.dohle.com (8.9.3/8.9.3) with SMTP id TAA31083 for ; Tue, 19 Dec 2000 19:49:42 +0100 Received: from paul8.dohle.com by majestix.dohle.com id aa22046; 19 Dec 100 19:49 CET From: Volker Paul To: pgsql-sql@postgresql.org Subject: Create table doesn't work in plpgsql Date: Tue, 19 Dec 2000 18:54:43 +0100 X-Mailer: KMail [version 1.0.29.2] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00121919014900.01625@james> Content-Transfer-Encoding: 8bit X-Archive-Number: 200012/221 X-Sequence-Number: 555 Hi, can I do some table manipulation in plpgsql? Look at only the "create table" line and the error message: create function plural (text) returns text as ' begin create table tmp (num int4); return $1 || ''s''; end;' language 'plpgsql'; select plural('test'); CREATE ERROR: copyObject: don't know how to copy 611 What does the error message mean? Where can I read more about it? Cheers, Volker