From: | Andreas Joseph Krogh <andreak(at)officenet(dot)no> |
---|---|
To: | "Remigius Stalder" <remigius(dot)stalder(at)descom-consulting(dot)ch> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Schema in connection URL |
Date: | 2002-12-19 10:01:25 |
Message-ID: | 200212191101.26131.andreak@officenet.no |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> ----- Original Message -----
> From: "Andreas Joseph Krogh" <andreak(at)officenet(dot)no>
> To: <pgsql-jdbc(at)postgresql(dot)org>
> Sent: Thursday, December 19, 2002 10:44 AM
> Subject: [JDBC] Schema in connection URL
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I have modified the code in AbstractJdbc1Connection.openConnection() to
>> accept
> > the following type of URL:
> > connectionURL="jdbc:postgresql://localhost:5432/andreak?schema=myschema"
> > So you can choose schema from JDBC(if ?schema is not given as parameter
> > "public" is default of course).
> > Is this interesting for others, should it be added to the official
> > drivers?
On Thursday 19 December 2002 11:04, you wrote:
> I think this is interesting, but please make sure that older pg versions
> (7.1) still work.
They do, it's all inside the if (haveMinimumServerVersion("7.3")) test.
Where do I post the code, here(pgsql-jdbc)? As a diff, its only a couple of
lines?
- --
Andreas Joseph Krogh <andreak(at)officenet(dot)no>
The difference between insanity and genius is measured by success
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+AZj2UopImDh2gfQRArTDAJ9lDGISfZX/hIKWhC38GkVPuzCfvgCgsiuF
4wtMtan/jPG8PysWHGnwGD8=
=gWFH
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Carlos Correia | 2002-12-19 11:20:58 | Re: Strange behaviour of JDBC driver for PostgreSQL |
Previous Message | Andreas Joseph Krogh | 2002-12-19 09:44:04 | Schema in connection URL |