Re: [HACKERS] function defined in libpq? - Mailing list pgsql-hackers

From Mike Mascari
Subject Re: [HACKERS] function defined in libpq?
Date
Msg-id 38A91238.1258AB43@mascari.com
Whole thread Raw
In response to Re: [HACKERS] function defined in libpq?  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
List pgsql-hackers
Peter Eisentraut wrote:

> 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?
>
>

Yes. Sorry. Stupid answer on my part. psql is so nice, particularly the new one :-),
that I keep forgetting it is dependent entirely upon libpq....

Mike Mascari

>
> Peter Eisentraut                  Sernanders vaeg 10:115
> peter_e@gmx.net                   75262 Uppsala
> http://yi.org/peter-e/            Sweden



pgsql-hackers by date:

Previous
From: Mike Mascari
Date:
Subject: Re: [HACKERS] function question yet again
Next
From: Michael Meskes
Date:
Subject: Re: [HACKERS] function defined in libpq?