diff --git a/script/list-db-types.js b/script/list-db-types.js index 295b4124..1a395869 100644 --- a/script/list-db-types.js +++ b/script/list-db-types.js @@ -4,7 +4,7 @@ var client = new Client({ database: 'postgres' }); client.connect(); -var query = client.query('select oid, typname, typlen from pg_type order by typname'); +var query = client.query('select oid, typname, typlen from pg_type where typtype = \'b\' order by typname'); query.on('row', function(row) { console.log(row); });