will result in a non-zero exit status.
[vagrant@localhost ~]$ /usr/pgsql-11/bin/pg_basebackup -U postgres -D - -X fetch --format=tar --gzip > /dev/null
WARNING: cannot verify checksum in file "./base/16384/16385", block 0: read buffer size 20009 and page size 8192 differ
WARNING: cannot verify checksum in file "./base/16393/16394", block 0: read buffer size 109 and page size 8192 differ
[vagrant@localhost ~]$ echo $?
0
нашел. кто-то (я) не отличает WARNING: checksum verification failed in file "./base/16384/16385", block 0: calculated 76A2 but expected F341 и WARNING: cannot verify checksum in file "./base/16393/16394", block 0: read buffer size 109 and page size 8192 differ сменил способ тестирования и теперь получаю свою 1.
Обсуждают сегодня