diff options
author | Noah Misch <noah@leadboat.com> | 2017-11-01 19:16:14 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2017-11-01 19:16:14 -0700 |
commit | 51f4d3ed7ea40998f66e15830aa84009c0e36e11 (patch) | |
tree | 1da71c591f139a79ddbda15a442466123c2a5413 /src/bin/psql/describe.c | |
parent | c0e2062d3214f6230a0e1eee9236b202bda9221f (diff) |
In client support of v10 features, use standard schema handling.
Back-patch to v10. This continues the work of commit
080351466c5a669bf35a323bdec9e296330a5dbb.
Discussion: https://postgr.es/m/CAKOSWN=ds66zLw2SqkLTM8wbXFgDbc_OdkmT3dJfPT2mE5kipA@mail.gmail.com
Diffstat (limited to 'src/bin/psql/describe.c')
-rw-r--r-- | src/bin/psql/describe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 986172616ee..b7b978a3614 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -5363,7 +5363,7 @@ describeSubscriptions(const char *pattern, bool verbose) "FROM pg_catalog.pg_subscription\n" "WHERE subdbid = (SELECT oid\n" " FROM pg_catalog.pg_database\n" - " WHERE datname = current_database())"); + " WHERE datname = pg_catalog.current_database())"); processSQLNamePattern(pset.db, &buf, pattern, true, false, NULL, "subname", NULL, |