help-octave
[Top][All Lists]
Advanced

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

Database package and numeric type


From: Jean-Felix Riou
Subject: Database package and numeric type
Date: Tue, 23 Jun 2020 13:24:05 +0000 (UTC)

Hello,

I am trying to retrieve data of numeric type from a postgres database. I use the octave database package 2.4.4. However it throws an error when executing a simple select query:
“no converter found for element oid 1700”.
I guess that the numeric type is not supported by the database package.


I cannot change the database itself.
Is there a way I can tell octave/database to automatically convert numeric into float8 for example?
So far the workaround I have found is to add a CAST for every numeric field in the query itself but that is painful when there are many numeric fields....

Thanks.

reply via email to

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