Libpq in C Language Function

Поиск
Список
Период
Сортировка
От Carel Combrink
Тема Libpq in C Language Function
Дата
Msg-id 20100806153640.935640k5b8tx2inc@student.up.ac.za
обсуждение исходный текст
Ответы Re: Libpq in C Language Function  (Joshua Tolley <eggyknap@gmail.com>)
Список pgsql-novice
Hi,

Is it possible to connect to another database from within a database.
The 2 databases will probably not be on the same computer.

Is it possible to create a C LANGUAGE function that connects to
another database using libpq? I have tried this but after calling
PQconnectedb the status returned by PQstatus is CONNECTION_BAD.

--
Carel Combrink
s25291930@tuks.co.za

This message and attachments are subject to a disclaimer. Please refer
to www.it.up.ac.za/documentation/governance/disclaimer/ for full
details. / Hierdie boodskap en aanhangsels is aan 'n vrywaringsklousule
onderhewig. Volledige besonderhede is by
www.it.up.ac.za/documentation/governance/disclaimer/ beskikbaar.


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

Предыдущее
От: Richard Broersma
Дата:
Сообщение: Re: Table-design for categories, suggestions needed
Следующее
От: Joshua Tolley
Дата:
Сообщение: Re: Libpq in C Language Function