postgresql/src/backend/storage
Peter Eisentraut 7e9a4c5c3d Use consistent style for checking return from system calls
Use

    if (something() != 0)
        error ...

instead of just

    if (something)
        error ...

The latter is not incorrect, but it's a bit confusing and not the
common style.

Discussion: https://www.postgresql.org/message-id/flat/5de61b6b-8be9-7771-0048-860328efe027%402ndquadrant.com
2019-07-07 15:28:49 +02:00
..
buffer Fix many typos and inconsistencies 2019-07-01 10:00:23 +09:00
file Use consistent style for checking return from system calls 2019-07-07 15:28:49 +02:00
freespace Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
ipc Use consistent style for checking return from system calls 2019-07-07 15:28:49 +02:00
large_object Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
lmgr Remove obsolete comments about sempahores from proc.c. 2019-06-21 10:57:07 +12:00
page Make one message just like all its siblings. 2019-05-28 23:44:22 -04:00
smgr Fix assorted inconsistencies. 2019-06-08 08:16:38 +05:30
sync Initial pgindent run for v12. 2019-05-22 12:55:34 -04:00
Makefile Refactor the fsync queue for wider use. 2019-04-04 23:38:38 +13:00