Re: Reg:Connection Object

Поиск
Список
Период
Сортировка
От sandhya
Тема Re: Reg:Connection Object
Дата
Msg-id 003501c5af76$78257690$cd00000a@amiindiahjwbgh
обсуждение исходный текст
Ответ на Reg:Connection Object  ("sandhya" <sandhyar@amiindia.co.in>)
Ответы Re: Reg:Connection Object
Список pgsql-admin
I am using normal C-Functions,In one function i will make connection with
the database.This connection object i need to get in my all other functions
where i will do the other operations like creating a table ,altering a table
in their respective functions.So..There is no need for me to ask the user to
pass the user ,password,database name in all other functions.Pls suggest me

-Sandhya

----- Original Message -----
From: "Michael Fuhr" <mike@fuhr.org>
To: "sandhya" <sandhyar@amiindia.co.in>
Cc: "postgre" <pgsql-admin@postgresql.org>
Sent: Thursday, September 01, 2005 7:16 PM
Subject: Re: [ADMIN] Reg:Connection Object


> On Thu, Sep 01, 2005 at 04:12:17PM +0530, sandhya wrote:
> > How to pass connection object across the functions.So that there
> > is no need for me to connect to postgres database in each and every
> > function.
>
> What functions?  You didn't say what language you're using, nor
> whether you're writing client-side code or server-side code.
>
> BTW, this thread seems off-topic for pgsql-admin because it doesn't
> concern PostgreSQL administration.  You're more likely to get help
> in pgsql-interfaces or pgsql-general, or in one of the more specific
> lists like pgsql-jdbc or pgsql-php if you're using one of those
> interfaces.
>
> --
> Michael Fuhr


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

Предыдущее
От: GRUbY
Дата:
Сообщение: Re: pg_dumpall problem - duplicated users
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Reg:Connection Object