On Fri, Jun 16, 2017 at 11:04 AM, QL Zhuo <zhuo(dot)dev(at)gmail(dot)com> wrote:
> I just put this line in my postgresql.conf:
>
> ```
> shared_preload_libraries = '/Path/Contains/UpCaseWords/an_ext.so'
> ```
>
> Then the server couldn't start. It tried to load the file
> "/path/contains/upcasewords/an_ext.so" and failed.
>
> After few digging, I found there's a wrong use of `SplitIdentifierString` in
> function `load_libraries` in /src/backend/utils/init/miscinit.c, and the
> attached patch fixes it.
That's a good catch. All the other callers of SplitIdentifierString()
don't handle a list of directories. This requires a back-patch.
--
Michael