X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 25C519DCA67 for ; Tue, 20 Dec 2005 09:54:49 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 79067-05 for ; Tue, 20 Dec 2005 09:54:51 -0400 (AST) X-Greylist: delayed 00:26:12.952529 by SQLgrey- Received: from mosaic02.mosaic.de (mosaic02.mosaic.de [195.247.16.18]) by postgresql.org (Postfix) with ESMTP id 2CCF59DCA58 for ; Tue, 20 Dec 2005 09:54:45 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by mosaic02.mosaic.de (Postfix) with ESMTP id EBAA2778AC for ; Tue, 20 Dec 2005 14:29:49 +0100 (CET) Received: from mosaic02.mosaic.de ([127.0.0.1]) by localhost (mosaic02.mosaic-ag.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30951-12 for ; Tue, 20 Dec 2005 14:29:49 +0100 (CET) Received: from mailproxy.mosaic.de (proxy01.mosaic.de [172.17.201.1]) by mosaic02.mosaic.de (Postfix) with ESMTP id F2166778A9 for ; Tue, 20 Dec 2005 14:29:48 +0100 (CET) Received: by mailproxy.mosaic.de (Postfix, from userid 10000) id D32AB3A710; Tue, 20 Dec 2005 14:28:32 +0100 (CET) Received: from enterprise.mosaic-ag.com (enterprise.mosaic-ag.com [172.17.4.21]) by mailproxy.mosaic.de (Postfix) with ESMTP id C42D53A6D6 for ; Tue, 20 Dec 2005 14:28:32 +0100 (CET) Received: from aupc287.mosaic-ag.com ([172.17.1.87]) by enterprise.mosaic-ag.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 20 Dec 2005 14:26:45 +0100 To: pgsql-jdbc@postgresql.org Subject: Feature request for setting the role with the URL connection string From: Roland Walter Date: Tue, 20 Dec 2005 14:28:31 +0100 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 20 Dec 2005 13:26:45.0812 (UTC) FILETIME=[0610FF40:01C60569] X-Virus-Scanned: mosaic-ag.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/93 X-Sequence-Number: 14424 Hello! I think it would be a nice feature, to be able to set the role of database user with the URL of the connection string, as PostgreSQL 8.1 has the concept of roles now. The jdbc-driver of Firebird has the connection parameter 'sql_role_name' for this feature. This would allow without code changes of the application to exchange a Firebird-database with a PostgreSQL-database. Just an idea. (Viewing on the source code, I did not find any starting point to do it myself.) Regards, Roland. -- Roland Walter mailto: rwa (at) mosaic-ag (dot) com MOSAIC SOFTWARE AG phone: +49 (0) 22 25 / 88 2-41 1 Am Pannacker 3 fax: +49 (0) 22 25 / 88 2-20 1 D-53340 Meckenheim http://www.mosaic-ag.com Die in dieser E-Mail enthaltenen Nachrichten und Anhaenge sind ausschliesslich fuer den bezeichneten Adressaten bestimmt. Sie koennen rechtlich geschuetzte, vertrauliche Informationen enthalten. Falls Sie nicht der bezeichnete Empfaenger oder zum Empfang dieser E-Mail nicht berechtigt sind, ist die Verwendung, Vervielfaeltigung oder Weitergabe von Nachrichten und Anhaengen untersagt. Falls Sie diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte unverzueglich den Absender und vernichten Sie die E-Mail. This e-mail message and any attachment are intended exclusively for the named addressee. They may contain confidential information which may also be protected by professional secrecy. Unless you are the named addressee (or authorised to receive for the addressee) you may not copy or use this message or any attachment or disclose the contents to anyone else. If this e-mail was sent to you by mistake please notify the sender immediately and delete this e-mail.