dd_opfamily_version_check.diff
application/octet-stream
Filename: dd_opfamily_version_check.diff
Type: application/octet-stream
Part: 0
Message:
fix for psql's \dd version check
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: unified
| File | + | − |
|---|---|---|
| src/bin/psql/describe.c | 0 | 0 |
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c
new file mode 100644
index b5c14c5..c588911
*** a/src/bin/psql/describe.c
--- b/src/bin/psql/describe.c
*************** objectDescription(const char *pattern, b
*** 902,908 ****
processSQLNamePattern(pset.db, &buf, pattern, true, false,
"n.nspname", "o.opcname", NULL,
"pg_catalog.pg_opclass_is_visible(o.oid)");
!
/* Operator family descriptions */
appendPQExpBuffer(&buf,
"UNION ALL\n"
--- 902,910 ----
processSQLNamePattern(pset.db, &buf, pattern, true, false,
"n.nspname", "o.opcname", NULL,
"pg_catalog.pg_opclass_is_visible(o.oid)");
! }
! if (pset.sversion >= 90200)
! {
/* Operator family descriptions */
appendPQExpBuffer(&buf,
"UNION ALL\n"