Re: Reg:Connection Object

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Reg:Connection Object
Дата
Msg-id 20050902055855.GA60139@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: Reg:Connection Object  ("sandhya" <sandhyar@amiindia.co.in>)
Список pgsql-admin
On Fri, Sep 02, 2005 at 11:19:53AM +0530, sandhya wrote:
> In case of multiple users what will happen?
> Each must have different connection objects right!

That's why global variables are bad.  But what's wrong with passing
a PGconn * to various functions?  If that's a problem in your
application then please explain why; it's still not clear what
difficulties you're having.  Perhaps it would help if you posted a
simple but complete example program that shows what you're trying
to do.

As I mentioned before, this thread is off-topic for pgsql-admin;
it would be more appropriate in pgsql-interfaces or pgsql-general.

--
Michael Fuhr

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

Предыдущее
От: "sandhya"
Дата:
Сообщение: Re: Reg:Connection Object
Следующее
От: "Manikandan C"
Дата:
Сообщение: Re: Reg:Connection Object