Re: Dynamic DDL

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Ketema <ketema(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Dynamic DDL
Date: 2007-04-16 20:47:13
Message-ID: 20070416204713.GC3324@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Apr 16, 2007 at 01:37:43PM -0700, Ketema wrote:
> create or replace function schema.insert_function(_schema text, _table
> text) returns integer

<snip>

> set search_path to _schema;
> insert into _table (columns) values(vals);

<snip>

> is there any whay to get the functionality of above to work with out
> have to build a string and use the execute function?

No.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ketema 2007-04-16 21:07:09 Re: Dynamic DDL
Previous Message Ketema 2007-04-16 20:37:43 Dynamic DDL