diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2023-07-22 10:32:52 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2023-07-22 10:32:52 -0400 |
commit | 11237e5a46ca2221aca5c74bf43bb58eff8dcc3b (patch) | |
tree | 63b082ab167ecfc40b6f1d84839e10b2b54141c4 /src/backend/utils/adt/jsonpath.c | |
parent | f75595cd80d134d5a63929a90a0347ff9729b79a (diff) | |
download | postgresql-11237e5a46ca2221aca5c74bf43bb58eff8dcc3b.tar.gz postgresql-11237e5a46ca2221aca5c74bf43bb58eff8dcc3b.zip |
Avoid compiler warning in non-assert builds.
After 3c90dcd03, try_partitionwise_join's child_joinrelids
variable is read only in an Assert, provoking a compiler
warning in non-assert builds. Rearrange code to avoid the
warning and eliminate unnecessary work in the non-assert case.
Per CI testing (via Jeff Davis and Bharath Rupireddy)
Discussion: https://postgr.es/m/ef0de9713e605451f1b60b30648c5ee900b2394c.camel@j-davis.com
Diffstat (limited to 'src/backend/utils/adt/jsonpath.c')
0 files changed, 0 insertions, 0 deletions