diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2023-02-06 09:05:20 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2023-02-06 09:41:01 +0100 |
commit | 54a177a948b0a773c25c6737d1cc3cc49222a526 (patch) | |
tree | a442be10d2b8515f6b1600f60838e379ee546fe8 /src/backend/replication/pgoutput/pgoutput.c | |
parent | 009f8d17146da72478fcb8f544b793c443fa254c (diff) | |
download | postgresql-54a177a948b0a773c25c6737d1cc3cc49222a526.tar.gz postgresql-54a177a948b0a773c25c6737d1cc3cc49222a526.zip |
Remove useless casts to (void *) in hash_search() calls
Some of these appear to be leftovers from when hash_search() took a
char * argument (changed in 5999e78fc45dcb91784b64b6e9ae43f4e4f68ca2).
Since after this there is some more horizontal space available, do
some light reformatting where suitable.
Reviewed-by: Corey Huinker <corey.huinker@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/fd9adf5d-b1aa-e82f-e4c7-263c30145807%40enterprisedb.com
Diffstat (limited to 'src/backend/replication/pgoutput/pgoutput.c')
-rw-r--r-- | src/backend/replication/pgoutput/pgoutput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/pgoutput/pgoutput.c b/src/backend/replication/pgoutput/pgoutput.c index 1a80d67bb9c..e4938d8888f 100644 --- a/src/backend/replication/pgoutput/pgoutput.c +++ b/src/backend/replication/pgoutput/pgoutput.c @@ -2026,7 +2026,7 @@ get_rel_sync_entry(PGOutputData *data, Relation relation) /* Find cached relation info, creating if not found */ entry = (RelationSyncEntry *) hash_search(RelationSyncCache, - (void *) &relid, + &relid, HASH_ENTER, &found); Assert(entry != NULL); |