pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #8272: Unable to connect to diffrent schema from jdbc
3+ messages / 3 participants
[nested] [flat]
* BUG #8272: Unable to connect to diffrent schema from jdbc
@ 2013-06-30 21:41 emesika@redhat.com
0 siblings, 1 reply; 3+ messages in thread
From: emesika@redhat.com @ 2013-06-30 21:41 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 8272
Logged by: Eli Mesika
Email address: emesika@redhat.com
PostgreSQL version: 8.4.17
Operating system: Linux (Fedora 18)
Description:
Hi
Postgres does not support currently defining the schema in teh connection
parameters which makes it imposible to seprate the database to several
schemas and connect to the right one from the application.
There is already a thread discussing that and a suggested patch that is
fixing that.
See
http://www.postgresql.org/message-id/4873F034.8010301@scharp.org
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #8272: Unable to connect to diffrent schema from jdbc
@ 2013-07-01 07:01 Heikki Linnakangas <hlinnakangas@vmware.com>
parent: emesika@redhat.com
0 siblings, 1 reply; 3+ messages in thread
From: Heikki Linnakangas @ 2013-07-01 07:01 UTC (permalink / raw)
To: emesika@redhat.com; +Cc: pgsql-bugs
On 01.07.2013 00:41, emesika@redhat.com wrote:
> Hi
> Postgres does not support currently defining the schema in teh connection
> parameters which makes it imposible to seprate the database to several
> schemas and connect to the right one from the application.
>
> There is already a thread discussing that and a suggested patch that is
> fixing that.
> See
>
> http://www.postgresql.org/message-id/4873F034.8010301@scharp.org
This is not a bug, but a feature request.
I agree that would be a nice feature. Patches are welcome, on the
pgsql-jdbc mailing list. As a work-around, you can set up a different db
user for each schema, and set search_path as a per-user setting in the
server.
- Heikki
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #8272: Unable to connect to diffrent schema from jdbc
@ 2013-07-01 07:13 John R Pierce <pierce@hogranch.com>
parent: Heikki Linnakangas <hlinnakangas@vmware.com>
0 siblings, 0 replies; 3+ messages in thread
From: John R Pierce @ 2013-07-01 07:13 UTC (permalink / raw)
To: pgsql-bugs
On 7/1/2013 12:01 AM, Heikki Linnakangas wrote:
>
> I agree that would be a nice feature. Patches are welcome, on the
> pgsql-jdbc mailing list. As a work-around, you can set up a different
> db user for each schema, and set search_path as a per-user setting in
> the server.
or just use the default search_path, which is $USER, public... name the
schemas same as the users...
--
john r pierce 37N 122W
somewhere on the middle of the left coast
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2013-07-01 07:13 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-06-30 21:41 BUG #8272: Unable to connect to diffrent schema from jdbc emesika@redhat.com
2013-07-01 07:01 ` Heikki Linnakangas <hlinnakangas@vmware.com>
2013-07-01 07:13 ` John R Pierce <pierce@hogranch.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox