dbTalk Databases Forums  

LibPq.dll change a database connection.

comp.databases.postgresql comp.databases.postgresql


Discuss LibPq.dll change a database connection. in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: LibPq.dll change a database connection. - 11-18-2008 , 09:32 AM






Enzo Campanella <v.campanella (AT) tin (DOT) it> wrote:
Quote:
Do not use PHP but I'm using Visual Object (VO).
I have created classes that interface in the LibPq.dll natively and inside
the classroom, I try to change the database. In practice I create a new
connection and, if OK, check the new connection to the classroom.
Who has Instanz class that is totally transparent.
I have never heard of Visual Objects, and I don't know your classroom,
all I can speak about the PostgreSQL library.

Quote:
Another question that you want to do is this:
is possible, through calls to the functions of libpq.dll, to backup the
database to which you are connected?
And if so, which function to use?
Backing up is no function of the client API.

You can create a dump with the client utility pg_dump (which, sure enough,
uses the client library).

Yours,
Laurenz Albe


Reply With Quote
  #22  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: LibPq.dll change a database connection. - 11-18-2008 , 09:32 AM






Enzo Campanella <v.campanella (AT) tin (DOT) it> wrote:
Quote:
Do not use PHP but I'm using Visual Object (VO).
I have created classes that interface in the LibPq.dll natively and inside
the classroom, I try to change the database. In practice I create a new
connection and, if OK, check the new connection to the classroom.
Who has Instanz class that is totally transparent.
I have never heard of Visual Objects, and I don't know your classroom,
all I can speak about the PostgreSQL library.

Quote:
Another question that you want to do is this:
is possible, through calls to the functions of libpq.dll, to backup the
database to which you are connected?
And if so, which function to use?
Backing up is no function of the client API.

You can create a dump with the client utility pg_dump (which, sure enough,
uses the client library).

Yours,
Laurenz Albe


Reply With Quote
  #23  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: LibPq.dll change a database connection. - 11-18-2008 , 09:32 AM



Enzo Campanella <v.campanella (AT) tin (DOT) it> wrote:
Quote:
Do not use PHP but I'm using Visual Object (VO).
I have created classes that interface in the LibPq.dll natively and inside
the classroom, I try to change the database. In practice I create a new
connection and, if OK, check the new connection to the classroom.
Who has Instanz class that is totally transparent.
I have never heard of Visual Objects, and I don't know your classroom,
all I can speak about the PostgreSQL library.

Quote:
Another question that you want to do is this:
is possible, through calls to the functions of libpq.dll, to backup the
database to which you are connected?
And if so, which function to use?
Backing up is no function of the client API.

You can create a dump with the client utility pg_dump (which, sure enough,
uses the client library).

Yours,
Laurenz Albe


Reply With Quote
  #24  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: LibPq.dll change a database connection. - 11-18-2008 , 09:32 AM



Enzo Campanella <v.campanella (AT) tin (DOT) it> wrote:
Quote:
Do not use PHP but I'm using Visual Object (VO).
I have created classes that interface in the LibPq.dll natively and inside
the classroom, I try to change the database. In practice I create a new
connection and, if OK, check the new connection to the classroom.
Who has Instanz class that is totally transparent.
I have never heard of Visual Objects, and I don't know your classroom,
all I can speak about the PostgreSQL library.

Quote:
Another question that you want to do is this:
is possible, through calls to the functions of libpq.dll, to backup the
database to which you are connected?
And if so, which function to use?
Backing up is no function of the client API.

You can create a dump with the client utility pg_dump (which, sure enough,
uses the client library).

Yours,
Laurenz Albe


Reply With Quote
  #25  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: LibPq.dll change a database connection. - 11-18-2008 , 09:32 AM



Enzo Campanella <v.campanella (AT) tin (DOT) it> wrote:
Quote:
Do not use PHP but I'm using Visual Object (VO).
I have created classes that interface in the LibPq.dll natively and inside
the classroom, I try to change the database. In practice I create a new
connection and, if OK, check the new connection to the classroom.
Who has Instanz class that is totally transparent.
I have never heard of Visual Objects, and I don't know your classroom,
all I can speak about the PostgreSQL library.

Quote:
Another question that you want to do is this:
is possible, through calls to the functions of libpq.dll, to backup the
database to which you are connected?
And if so, which function to use?
Backing up is no function of the client API.

You can create a dump with the client utility pg_dump (which, sure enough,
uses the client library).

Yours,
Laurenz Albe


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.