diff options
author | Tomas Vondra <tomas.vondra@postgresql.org> | 2022-01-23 03:36:55 +0100 |
---|---|---|
committer | Tomas Vondra <tomas.vondra@postgresql.org> | 2022-01-23 04:02:22 +0100 |
commit | 4d8c4d2061f90db009ec834308e260fb5ca1e885 (patch) | |
tree | 7125477da8d59d8e2e551234154dedd38102e09e /src/backend/parser/parse_node.c | |
parent | 267ccc38ba6a95889d98959f183de64ceff23087 (diff) | |
download | postgresql-4d8c4d2061f90db009ec834308e260fb5ca1e885.tar.gz postgresql-4d8c4d2061f90db009ec834308e260fb5ca1e885.zip |
Correct type of front_pathkey to PathKey
In sort_inner_and_outer we iterate a list of PathKey elements, but the
variable is declared as (List *). This mistake is benign, because we
only pass the pointer to lcons() and never dereference it.
This exists since ~2004, but it's confusing. So fix and backpatch to all
supported branches.
Backpatch-through: 10
Discussion: https://postgr.es/m/bf3a6ea1-a7d8-7211-0669-189d5c169374%40enterprisedb.com
Diffstat (limited to 'src/backend/parser/parse_node.c')
0 files changed, 0 insertions, 0 deletions