mirror of https://github.com/dbcli/pgcli
parent
f27ac1c110
commit
10cc4ce2b9
|
@ -6,6 +6,11 @@ Features:
|
|||
|
||||
* Add `\\G` as a terminator to sql statements that will show the results in expanded mode. This feature is copied from mycli. (Thanks: `Amjith Ramanujam`_)
|
||||
|
||||
Bug fixes:
|
||||
----------
|
||||
|
||||
* Error connecting to PostgreSQL 12beta1 (#1058). (Thanks: `Irina Truong`_)
|
||||
|
||||
2.1.1
|
||||
=====
|
||||
|
||||
|
|
|
@ -559,7 +559,7 @@ class PGExecute(object):
|
|||
att.attname column_name,
|
||||
att.atttypid::regtype::text type_name,
|
||||
att.atthasdef AS has_default,
|
||||
def.adsrc as default
|
||||
pg_catalog.pg_get_expr(def.adbin, def.adrelid, true) as default
|
||||
FROM pg_catalog.pg_attribute att
|
||||
INNER JOIN pg_catalog.pg_class cls
|
||||
ON att.attrelid = cls.oid
|
||||
|
|
Loading…
Reference in New Issue