postgresql/src/include/storage
Tom Lane 8134fe4ad8 Remove some pointless code in block.h.
There's no visible point in casting the result of a comparison to
bool, because it already is that, at least on C99 compilers.

I see no point in these assertions that a pointer we're about to
dereference isn't null, either.  If it is, the resulting SIGSEGV
will notify us of the problem just fine.

Noted while reviewing Zhihong Yu's patch.  This is basically
cosmetic, so no need for back-patch.

Discussion: https://postgr.es/m/CALNJ-vT9r0DSsAOw9OXVJFxLENoVS_68kJ5x0p44atoYH+H4dg@mail.gmail.com
2022-03-03 19:15:38 -05:00
..
.gitignore When trace_lwlocks is used, identify individual lwlocks by name. 2015-09-11 14:01:39 -04:00
backendid.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
barrier.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
block.h Remove some pointless code in block.h. 2022-03-03 19:15:38 -05:00
buf.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
buf_internals.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
buffile.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
bufmgr.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
bufpage.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
checksum.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
checksum_impl.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
condition_variable.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
copydir.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
dsm.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
dsm_impl.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
fd.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
fileset.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
freespace.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
fsm_internals.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
indexfsm.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
ipc.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
item.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
itemid.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
itemptr.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
large_object.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
latch.h Add WL_SOCKET_CLOSED for socket shutdown events. 2022-02-14 16:52:23 +13:00
lmgr.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
lock.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
lockdefs.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
lwlock.h Add further debug info to help debug 019_replslot_limit.pl failures. 2022-02-25 17:04:39 -08:00
md.h Fix DROP {DATABASE,TABLESPACE} on Windows. 2022-02-12 10:21:23 +13:00
off.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_sema.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_shmem.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pmsignal.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
predicate.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
predicate_internals.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
proc.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
procarray.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
proclist.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
proclist_types.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
procsignal.h Fix DROP {DATABASE,TABLESPACE} on Windows. 2022-02-12 10:21:23 +13:00
reinit.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
relfilenode.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
s_lock.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
sharedfileset.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
shm_mq.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
shm_toc.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
shmem.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
sinval.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
sinvaladt.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
smgr.h Fix DROP {DATABASE,TABLESPACE} on Windows. 2022-02-12 10:21:23 +13:00
spin.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
standby.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
standbydefs.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
sync.h Update copyright for 2022 2022-01-07 19:04:57 -05:00