postgresql/contrib/dblink
John Naylor 095d109ccd Remove redundant setting of hashkey after insertion
It's not necessary to fill the key field in most cases, since
hash_search has already done that. Some existing call sites have an
assert or comment that this contract has been fulfilled, but those
are quite old and that practice seems unnecessary here.

While at it, remove a nearby redundant assignment that a smart compiler
will elide anyway.

Zhao Junwang, with some adjustments by me

Reviewed by Nathan Bossart, with additional feedback from Tom Lane

Discussion: http://postgr.es/m/CAEG8a3%2BUPF%3DR2QGPgJMF2mKh8xPd1H2TmfH77zPuVUFdBpiGUA%40mail.gmail.com
2023-11-30 15:25:57 +07:00
..
expected De-Revert "Add support for Kerberos credential delegation" 2023-04-13 08:55:07 -04:00
sql dblink: Fix variable confusion introduced in e4602483e9 2023-01-31 17:47:53 -08:00
.gitignore Support "make check" in contrib 2011-04-25 22:27:11 +03:00
Makefile Merge dblink's paths test script into its main test. 2021-12-20 16:49:13 -05:00
dblink--1.0--1.1.sql Fix typo in update scripts for some contrib modules. 2013-07-19 04:13:01 +09:00
dblink--1.1--1.2.sql Fix parallel-safety markings for contrib/dblink. 2016-06-17 23:08:21 -04:00
dblink--1.2.sql Fix parallel-safety markings for contrib/dblink. 2016-06-17 23:08:21 -04:00
dblink.c Remove redundant setting of hashkey after insertion 2023-11-30 15:25:57 +07:00
dblink.control Update dblink extension for parallel query. 2016-06-17 15:18:44 -04:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_service.conf Diagnose incompatible OpenLDAP versions during build and test. 2014-07-22 11:01:03 -04:00