help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

database connection fails


From: Karen Kuhn
Subject: database connection fails
Date: Tue, 3 Jan 2017 11:53:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0

Hi all,

I tried to connect to a test database via

conn = pq_connect(setdbopts("host", "localhost","port", "5432","dbname", "testdb", "user", "superx", "password", ""))

and get the error:

error: octave_pq_get_postgres_oid: could not convert given type tostring
error: could not read types
error: __pq_connect__ failed
error: called from:
error: /usr/share/octave/packages/database-2.4.2/pq_connect.m atline 112, column 8

Has anyone an idea where the problem might be and how I can get it work?

I'm working on a Debian 8.6 machine with octave 3.8.2 and postgresql 9.4.9. I installed the packages struct 1.0.14 and database 2.4.2 without any problem report via:

pkg install -global -verbose struct
pkg install -global -verbose database


Thanks in advance
Karen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]