[redland-dev] [Redland librdf RDF API 0000530]: Can't process statements on postgresql storage

Mantis Bug Tracker mantis-bug-sender at librdf.org
Thu Feb 7 09:37:53 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=530 
====================================================================== 
Reported By:                Olivier Berger
Assigned To:                
====================================================================== 
Project:                    Redland librdf RDF API
Issue ID:                   530
Category:                   api
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-02-07 14:37
Last Modified:              2013-02-07 14:37
====================================================================== 
Summary:                    Can't process statements on postgresql storage
Description: 
In example1.c, I'm changing the :

 storage=librdf_new_storage(world, "memory", "test", NULL);

into :

 storage=librdf_new_storage(world, "postgresql", "example3",
"new='yes',host='localhost',database='tests',user='postgres',password='whatever'");

The DB is populated (yeah ;-), but the queries don't return anything :

$ ./example1 http://librdf.org/bindings/bindings.rdf
/home/olivier/redland-1.0.15/examples/.libs/lt-example1: Parsing URI
http://librdf.org/bindings/bindings.rdf
/home/olivier/redland-1.0.15/examples/.libs/lt-example1: Resulting model is:
/home/olivier/redland-1.0.15/examples/.libs/lt-example1: Trying to
find_statements
/home/olivier/redland-1.0.15/examples/.libs/lt-example1:
librdf_model_find_statements returned NULL stream
/home/olivier/redland-1.0.15/examples/.libs/lt-example1: Trying to get targets
/home/olivier/redland-1.0.15/examples/.libs/lt-example1: got 0 target nodes

Is this supposed to work ?
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-02-07 14:37 Olivier Berger New Issue                                    
======================================================================



More information about the redland-dev mailing list