indentation in _hash_pgaddtup()

From: Ted Yu <yuzhihong(at)gmail(dot)com>
To: drowley(at)postgresql(dot)org, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: indentation in _hash_pgaddtup()
Date: 2022-11-24 12:42:31
Message-ID: CALte62wLSir1=x93Jf0xZvHaO009FEJfhVMFwnaR8q=csPP8kQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
I was looking at :

commit d09dbeb9bde6b9faabd30e887eff4493331d6424
Author: David Rowley <drowley(at)postgresql(dot)org>
Date: Thu Nov 24 17:21:44 2022 +1300

Speedup hash index builds by skipping needless binary searches

In _hash_pgaddtup(), it seems the indentation is off for the assertion.

Please take a look at the patch.

Thanks

Attachment Content-Type Size
hash-pgaddtup-indent.patch application/octet-stream 810 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2022-11-24 12:43:10 Avoid LWLockWaitForVar() for currently held WAL insertion lock in WaitXLogInsertionsToFinish()
Previous Message Pavel Borisov 2022-11-24 12:20:21 Re: Lockless queue of waiters in LWLock