Re: local_preload_libraries filenames converted to lowercase - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: local_preload_libraries filenames converted to lowercase
Date
Msg-id 201006292224.o5TMOP520743@momjian.us
Whole thread Raw
In response to Re: local_preload_libraries filenames converted to lowercase  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane wrote:
> Josh Berkus <josh@agliodbs.com> writes:
> > Yes, I'd say that documentation is the answer, given.  Hmmm .... are
> > double-quotes respected in postgresql.conf, though?  Need testing.
>
> Not sure.  Something like
>
>     local_preload_libraries = '"Foo", "Bar"'
>
> will definitely work.  Don't know if you can dispense with the outer
> single quotes.

I have documented the requirement for double quotes; attached patch
applied.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + None of us is going to be here forever. +
Index: doc/src/sgml/config.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/config.sgml,v
retrieving revision 1.285
diff -c -c -r1.285 config.sgml
*** doc/src/sgml/config.sgml    28 Jun 2010 22:46:11 -0000    1.285
--- doc/src/sgml/config.sgml    29 Jun 2010 22:17:58 -0000
***************
*** 1015,1020 ****
--- 1015,1021 ----
          <literal>mylib.so</> (or on some platforms,
          <literal>mylib.sl</>) to be preloaded from the installation's
          standard library directory.
+         All library names are converted to lowercase unless double-quoted.
          If more than one library is to be loaded, separate their names
          with commas.  This parameter can only be set at server start.
         </para>
***************
*** 4838,4844 ****
         <para>
          This variable specifies one or more shared libraries that are
          to be preloaded at connection start.  If more than one library
!         is to be loaded, separate their names with commas.
          This parameter cannot be changed after the start of a particular
          session.
         </para>
--- 4839,4846 ----
         <para>
          This variable specifies one or more shared libraries that are
          to be preloaded at connection start.  If more than one library
!         is to be loaded, separate their names with commas.  All library
!         names are converted to lowercase unless double-quoted.
          This parameter cannot be changed after the start of a particular
          session.
         </para>

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5530: Default cost of crypt causes poor decisions
Next
From: Oliver Jowett
Date:
Subject: Re: [JDBC] JDBC: 2 bugs: Getting a smallint array actually gets an integer array and return type of a boolean array is bit.