pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Volker Paul <vpaul@dohle.com>
To: pgsql-sql@postgresql.org
Subject: Create table doesn't work in plpgsql
Date: Tue, 19 Dec 2000 18:54:43 +0100
Message-ID: <00121919014900.01625@james> (raw)

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



view thread (8+ messages)  latest in thread

Message-ID: <00121919014900.01625@james>
Permalink:  ../00121919014900.01625@james/
Also on:    postgresql.org/message-id/00121919014900.01625@james

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: vpaul@dohle.com
  Subject: Re: Create table doesn't work in plpgsql
  In-Reply-To: <00121919014900.01625@james>
  References: <00121919014900.01625@james>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox