[pycsw-devel] Table schema question

Tom Kralidis tomkralidis at gmail.com
Thu Oct 17 08:30:28 PDT 2013



On Thu, 17 Oct 2013, Alejandro Mostovoi wrote:

> Date: Thu, 17 Oct 2013 11:20:49 -0300
> From: Alejandro Mostovoi <ahmostovoi at gmail.com>
> To: pycsw-devel at lists.osgeo.org
> Subject: [pycsw-devel] Table schema question
> 
> Hello all,
>    I'm using pycsw 1.6.1 with PostgreSQL 9.1.9 and Postgis 2.0.1 on a
> Ubuntu Server 12.04.
>    I've create the "records" table under the schema "my_schema", but when
> try to do a GetCapabilities I get an exception:
>
> "Could not load repository (local): my_schema.records"
>
> Here's a fragment of my config file:
> [repository]
> database=postgresql://alejandro:123456@localhost/csw_db
> table=my_schema.records
>
> If I create the same table under the "public" schema, it works fine.
>
> What could by wrong?
>

Thanks for the info.  Looks like we need fix the table connection to handle schemas.

Alejandro: can you please file a ticket for this on GitHub [1]. After this, I will issue a fix in master and 1.6 branch.

[1] https://github.com/geopython/pycsw/issues/new

> Thanks in advance.
> Alejandro.
>


More information about the pycsw-devel mailing list