Mercurial > forge
diff main/database/src/pq_connection.cc @ 12181:73d73ef1c0bf octave-forge
Fix error due to typo in query in pq_connection.cc (bug #40707).
author | i7tiol |
---|---|
date | Tue, 26 Nov 2013 20:36:24 +0000 |
parents | b3cbebad8a26 |
children | 2257648e8ce1 |
line wrap: on
line diff
--- a/main/database/src/pq_connection.cc Mon Nov 25 22:25:52 2013 +0000 +++ b/main/database/src/pq_connection.cc Tue Nov 26 20:36:24 2013 +0000 @@ -289,7 +289,7 @@ { Cell p, pt, rt; - std::string cmd ("select pg_type.oid, pg_type.typname, pg_type.typarray, pg_namespace.nspname, pg_type_is_visible(pg_type.oid) as visible, array_agg(pg_attribute.atttypid), array_agg(pg_attribute.attnum) from (pg_type join pg_namespace on pg_type.typnamespace = pg_namespace.oid) join pg_attribute on pg_type.typrelid = pg_attribute.attrelid where pg_type.typtype = 'c' and pg_attribute.attnum > 0 group by pg_type.oid, pg_type.typname, pg_type,typarray, pg_type.typrelid, pg_namespace.nspname, visible;"), + std::string cmd ("select pg_type.oid, pg_type.typname, pg_type.typarray, pg_namespace.nspname, pg_type_is_visible(pg_type.oid) as visible, array_agg(pg_attribute.atttypid), array_agg(pg_attribute.attnum) from (pg_type join pg_namespace on pg_type.typnamespace = pg_namespace.oid) join pg_attribute on pg_type.typrelid = pg_attribute.attrelid where pg_type.typtype = 'c' and pg_attribute.attnum > 0 group by pg_type.oid, pg_type.typname, pg_type.typarray, pg_type.typrelid, pg_namespace.nspname, visible;"), caller ("octave_pq_get_composite_types"); command c (*this, cmd, p, pt, rt, caller);