aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeSort.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-08-02 17:00:26 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-08-02 17:00:26 -0400
commit719304a3043d9f60247df371f55236058a7f3caa (patch)
treef85488e2208937198469331f54f9055abd34afff /src/backend/executor/nodeSort.c
parent22c105595fc736ae94ce3b806da16b0bd8e94fb8 (diff)
downloadpostgresql-719304a3043d9f60247df371f55236058a7f3caa.tar.gz
postgresql-719304a3043d9f60247df371f55236058a7f3caa.zip
Fix minor issues in psql's new \dAc and related commands.
The type-name pattern in \dAc and \dAf was matched only to the actual pg_type.typname string, which is fairly user-unfriendly in cases where that is not what's shown to the user by format_type (compare "_int4" and "integer[]"). Make this code match what \dT does, i.e. match the pattern against either typname or format_type() output. Also fix its broken handling of schema-name restrictions. (IOW, make these processSQLNamePattern calls match \dT's.) While here, adjust whitespace to make the query a little prettier in -E output, too. Also improve some inaccuracies and shaky grammar in the related documentation. Noted while working on a patch for intarray's opclasses; I wondered why I couldn't get a match to "integer*" for the input type name.
Diffstat (limited to 'src/backend/executor/nodeSort.c')
0 files changed, 0 insertions, 0 deletions