Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id DF19E632B48 for ; Fri, 18 Jun 2010 15:56:39 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 82655-08 for ; Fri, 18 Jun 2010 18:56:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [76.96.59.211]) by mail.postgresql.org (Postfix) with ESMTP id 8C197632277 for ; Fri, 18 Jun 2010 15:56:32 -0300 (ADT) Received: from omta02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA11.westchester.pa.mail.comcast.net with comcast id XRgm1e0070QuhwU5BWwYeq; Fri, 18 Jun 2010 18:56:32 +0000 Received: from sz0093.wc.mail.comcast.net ([76.96.58.151]) by omta02.westchester.pa.mail.comcast.net with comcast id XWwY1e0043FmDic3NWwYoV; Fri, 18 Jun 2010 18:56:32 +0000 Date: Fri, 18 Jun 2010 18:56:31 +0000 (UTC) From: Lou Picciano To: pgsql-testers Message-ID: <1892486956.1137701276887391864.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> Subject: local_preload_libraries converts path to lowercase? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_59073_1225968382.1276887391863" X-Originating-IP: [76.117.184.231] X-Mailer: Zimbra 5.0.19_GA_3172.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.19_GA_3177.RHEL5_64) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.01 tagged_above=-10 required=5 tests=BAYES_20=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201006/21 X-Sequence-Number: 135 ------=_Part_59073_1225968382.1276887391863 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit [TEST REPORT] [Release]: 9.0beta2 [Test Type]: Application - configuration. [Test]: Attempt to make use of the local_preload_libraries option within postgresql.conf [Platform]: SUN SPARC 4u Enterprise 450 Quad. [Parameters]: attempt to use local_preload_libraries = /usr/local/lib/MyFavoriteLib.so. PG converts entire path to lowercase: /usr/local/lib/myfavoritelib.so. [Failure]: Yes [Results]: The Postgres binary converts the library name - in fact the entire pathname to the library - to lowercase. Attempt to connect to server using psql results in psql: FATAL: access to library " /usr/local/lib/myfavoritelib.so " is not allowed - even though permissions are 'permissive'. [Comments]: (Whether our attempt to reference our preloaded library in this place is correct or not,) that the binary changes the directive to lower case seems odd. ------=_Part_59073_1225968382.1276887391863 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: Verdana; font-size: 12pt; color: #000000'>

[TEST REPORT]

[R= elease]: 9.0beta2

[Test= Type]: Application - configuration.

[Test]: Attempt to make use of the 

local_preload_libraries option within= postgresql.conf

[Platform]: SUN SPARC 4u Enterprise 450 Quad.

<= b>


=

[Parameters]: at= tempt to use local_preload_libraries =3D /usr/local/lib/MyFavoriteLib.so. &= nbsp; PG converts entire path to lowercase: /usr/local/lib/myfavoritelib.so.<= /span>

[Failure]: Y= es

[Results]:  The= Postgres binary converts the library name - in fact the entire pathname to= the library - to lowercase.  Attempt to connect to server using psql = results in psql: FATAL:  access to library "/usr/local/lib/myfavoritelib= .so" is not allowed - even though permissions are 'permissive'.<= /p>

[Comments]: (Whether ou= r attempt to reference our preloaded library in this place is correct or no= t,) that the binary changes the directive to lower case seems odd.

------=_Part_59073_1225968382.1276887391863--