On Tue, Mar 10, 2015 at 11:24 AM, Francisco Puga <[email protected]> wrote:

>
> and also like this based on the docs of the jdbc driver [2]
>
> jdbc:postgresql://localhost:5432/mydatabase?currentSchema=myschema
>

The correct parameter is indeed "currentSchema", *not* "searchPath".
However this feature only appeared in pgjdbc version 9.3.1103 onwards
<https://github.com/pgjdbc/pgjdbc/blob/REL9_3_1103/doc/pgjdbc.xml>.
Unfortunately GeoServer ships with an old pgjdbc library (8.4) so you can't
make use of this feature.
Work is in progress <http://jira.codehaus.org/browse/GEOT-4636> to fix that
but there seems to be some side effects when upgrading to a newer library.
In my case it didn't encounter any so I switched to a newer pgjdbc and I
could configure security services in a non-public schema.

-- 
Damiano Albani
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to