aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-05-13 09:11:50 +0900
committerMichael Paquier <michael@paquier.xyz>2019-05-13 09:11:50 +0900
commit1171dbde2daef8f0dcd1dc1e54531a0d8dd34d88 (patch)
tree94d68bd4cacc4ba2ad00db9867ada63dd5190423 /contrib/postgres_fdw/postgres_fdw.c
parent8a29ed05302ea18b4be177c2d1181b43706af45f (diff)
downloadpostgresql-1171dbde2daef8f0dcd1dc1e54531a0d8dd34d88.tar.gz
postgresql-1171dbde2daef8f0dcd1dc1e54531a0d8dd34d88.zip
Fix incorrect return value in JSON equality function for scalars
equalsJsonbScalarValue() uses a boolean as return type, however for one code path -1 gets returned, which is confusing. The origin of the confusion is visibly that this code got copy-pasted from compareJsonbScalarValue() since it has been introduced in d1d50bf. No backpatch, as this is only cosmetic. Author: Rikard Falkeborn Discussion: https://postgr.es/m/CADRDgG7mJnek6HNW13f+LF6V=6gag9PM+P7H5dnyWZAv49aBGg@mail.gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions