Re: [HACKERS] function defined in libpq?

Поиск
Список
Период
Сортировка
От Mike Mascari
Тема Re: [HACKERS] function defined in libpq?
Дата
Msg-id 38A91019.59932F48@mascari.com
обсуждение исходный текст
Ответ на Re: [HACKERS] function defined in libpq?  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
Ответы Re: [HACKERS] function defined in libpq?  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
Re: [HACKERS] function defined in libpq?  (Michael Meskes <meskes@postgreSQL.org>)
Список pgsql-hackers
Peter Eisentraut 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?
>
> Huh? I'm sure you don't mean adding a declaration to a header file and
> putting the definition in a .c file of your choice, as well as ensuring
> that it compiles?
>
> --
> Peter Eisentraut                  Sernanders vaeg 10:115
> peter_e@gmx.net                   75262 Uppsala
> http://yi.org/peter-e/            Sweden
>

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

Mike Mascari





В списке pgsql-hackers по дате отправления:

Предыдущее
От: Sevo Stille
Дата:
Сообщение: Re: [HACKERS] Re: schema: pg_dump -s ipmeter (fwd)
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] function defined in libpq?