diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-05-12 14:54:02 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-05-12 14:54:02 +0900 |
commit | e6ccd1ce1644d1b40b7981f8bc172394de524f99 (patch) | |
tree | 0ab17a7ae3d0047e7e59d440ae6e8c884dc66973 /src/backend/access/gist/gistvalidate.c | |
parent | ec6e70c79fffe9292402ee602d3742a8c7d31bd2 (diff) | |
download | postgresql-e6ccd1ce1644d1b40b7981f8bc172394de524f99.tar.gz |
Simplify one use of ScanKey in pg_subscription.c
The section of the code in charge of returning all the relations
associated to a subscription only need one ScanKey, but allocated two of
them. This code was introduced as a copy-paste from a different area on
the same file by 7c4f524, making the result confusing to follow.
Author: Peter Smith
Reviewed-by: Tom Lane, Julien Rouhaud, Bharath Rupireddy
Discussion: https://postgr.es/m/CAHut+PsLKe+rN3FjchoJsd76rx2aMsFTB7CTFxRgUP05p=kcpQ@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions