
[Top]
Sql
Sql.postgres
|
Method Sql.postgres()->select_db()
- Method
select_db
void Sql.postgres()->select_db(string dbname)
- Description
-
This function allows you to connect to a database. Due to restrictions
of the Postgres frontend-backend protocol, you always have to be connected
to a database, so in fact this function just allows you to connect
to a different database on the same server.
- Note
This function can raise exceptions if something goes wrong (backend process
not running, not enough permissions..)
- See also
create
Extracted from Pike v7.3 release 11 at 2001-11-03.
|