Replace pointer comparisons and assignments to literal zero with NULL
While 0 is technically correct, NULL is the semantically appropriate
choice for pointers.
Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://www.postgresql.org/message-id/aS1AYnZmuRZ8g%2B5G%40ip-10-97-1-34.eu-west-3.compute.internal
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ec782f56b0c30ef493e8356b46e1131612f01d9f
Modified Files
--------------
src/backend/nodes/copyfuncs.c | 2 +-
src/backend/postmaster/postmaster.c | 2 +-
src/backend/utils/adt/pg_locale.c | 4 ++--
src/backend/utils/adt/timestamp.c | 2 +-
src/interfaces/ecpg/ecpglib/prepare.c | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
Есть вопросы? Напишите нам!
✖
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.