|
Re: Change the current database programatically: msg#00222db.postgresql.novice
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Is there any way to change the current database programatically? > ... > So, is there anyway (at pl/pgsql level) to do that? The short answer is "no". The databases are fairly well separated: this is considered a Good Thing. What you want to use is schemas, which are now available in version 7.3. This would be a great reason to upgrade to 7.3.2 if you are not there already. You also may want to look at "dblink" in the contrib directory, which is probably the closest to what you want without using schemas. - -- Greg Sabino Mullane greg@xxxxxxxxxxxx PGP Key: 0x14964AC8 200302181006 -----BEGIN PGP SIGNATURE----- Comment: http://www.turnstep.com/pgp.html iD8DBQE+UkwZvJuQZxSWSsgRAtTuAJ9EbjhKITx7uU1p789bEA9NWgjNBQCdGoW/ XjyB42rn32fqsrJXhgZqHVY= =bICC -----END PGP SIGNATURE----- ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx) |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Granting permission for users to create users...: 00222, Bruno Wolff III |
|---|---|
| Next by Date: | Re: Multiple Return Values?: 00222, Steve_Miller |
| Previous by Thread: | Change the current database programaticallyi: 00222, guillermo schulman |
| Next by Thread: | How to remove old pg RPMs?: 00222, Patrick Hatcher |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |