Re: [HACKERS] function defined in libpq?

From: Peter Eisentraut <e99re41(at)DoCS(dot)UU(dot)SE>
To: Mike Mascari <mascarm(at)mascari(dot)com>
Cc: Michael Meskes <meskes(at)postgreSQL(dot)org>, PostgreSQL Hacker <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] function defined in libpq?
Date: 2000-02-15 13:43:56
Message-ID: Pine.GSO.4.02A.10002151442070.28210-100000@Krokodil.DoCS.UU.SE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 15 Feb 2000, Mike Mascari wrote:

> > On Mon, 14 Feb 2000, Michael Meskes wrote:
> >
> > > Could anyone please give me an example on how I can define a function using
> > > libpq if that is at all possible?

> I think what he wants to do is dynamically create a function from the client
> side by issuing a CREATE FUNCTION statement (presumably one of the built-ins?
> SQL, pl/pgSQL, pl/pgTcl.) For what its worth, I've issued a host of unlreated
> DDL statements through PQexec and all of them have worked as expected, although
> CREATE FUNCTION was never one of them...

Why wouldn't it work? Or, much more interesting, how else would you do it?

--
Peter Eisentraut Sernanders vaeg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2000-02-15 14:13:26 Re: [HACKERS] function defined in libpq?
Previous Message Sevo Stille 2000-02-15 12:58:02 Re: [HACKERS] Re: schema: pg_dump -s ipmeter (fwd)