X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F3BF6329C70 for ; Wed, 8 Sep 2004 10:39:36 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 94885-05 for ; Wed, 8 Sep 2004 09:39:30 +0000 (GMT) Received: from ns1.officenet.no (unknown [193.212.174.91]) by svr1.postgresql.org (Postfix) with ESMTP id BCD24329C67 for ; Wed, 8 Sep 2004 10:39:30 +0100 (BST) Received: from [127.0.0.1] (helo=localhost) by ns1.officenet.no with esmtp (Exim 4.33) id 1C4ylg-0000eE-Bp; Wed, 08 Sep 2004 11:29:32 +0200 From: Andreas Joseph Krogh Organization: OfficeNet AS To: Paul Thomas Subject: Re: please help - schema in jdbc connection string Date: Wed, 8 Sep 2004 11:29:31 +0200 User-Agent: KMail/1.7 Cc: pgsql-jdbc@postgresql.org References: <20040908095122.A31311@bacon> In-Reply-To: <20040908095122.A31311@bacon> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6478981.N231vuDjcg"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200409081129.32040.andreak@officenet.no> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/17 X-Sequence-Number: 10907 --nextPart6478981.N231vuDjcg Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 08 September 2004 10:51, Paul Thomas wrote: > On 08/09/2004 01:50 Nanu Ram wrote: > > Hi: > > > > > > > > I am sorry of this was already answered earlier (I looked - it was > > asked, but didn't find the ans.). Has this been implemented? > > > > I would like to connect to one of the schema's in my database, something > > likes this ... > > > > > > > > jdbc:postgresql://:5432/?schema=3D > > > > > > > > I am on 7.4.3 > > You don't connect to schemas, you connect to databases. I don't think that's the answer hi's looking for. What he needs is setting = the=20 default search_path to before he can operate on the db, and he=20 doesn't want to do it programmaticly(which I understand why). I think this = is=20 perfectly valid and makes sence. I made a patch to the JDBC driver to allow= =20 this some time ago, but it was rejected(lack of docs I think). Let me know = if=20 it's of interest. --=20 Andreas Joseph Krogh Senior Software Developer / Manager gpg public_key: http://dev.officenet.no/~andreak/public_key.asc ------------------------+---------------------------------------------+ OfficeNet AS | Two tomatoes in a fridge. One tomato says | Hoffsveien 17 | to the other, "It's cold in here, isn't it?"| PO. Box 425 Sk=F8yen | The other tomato says, "F**king hell, | 0213 Oslo | a talking tomato!" | NORWAY | | Phone : +47 22 13 01 00 | | Direct: +47 22 13 10 03 | | Mobile: +47 909 56 963 | | ------------------------+---------------------------------------------+ --nextPart6478981.N231vuDjcg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBPtD8UopImDh2gfQRAj6RAKCBIRkgWuruLMx0nsVLXs6UMzV4TwCghX0P zXf2S9mPUUf0vebZJH5Xqr4= =HtCf -----END PGP SIGNATURE----- --nextPart6478981.N231vuDjcg--