Re: Schema in connection URL

Поиск
Список
Период
Сортировка
От Andreas Joseph Krogh
Тема Re: Schema in connection URL
Дата
Msg-id 200212191101.26131.andreak@officenet.no
обсуждение исходный текст
Ответ на Schema in connection URL  (Andreas Joseph Krogh <andreak@officenet.no>)
Список pgsql-jdbc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> ----- Original Message -----
> From: "Andreas Joseph Krogh" <andreak@officenet.no>
> To: <pgsql-jdbc@postgresql.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@officenet.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-----


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Andreas Joseph Krogh
Дата:
Сообщение: Schema in connection URL
Следующее
От: Carlos Correia
Дата:
Сообщение: Re: Strange behaviour of JDBC driver for PostgreSQL