pg_verify_checksums on ubuntu 16.04

Поиск
Список
Период
Сортировка
Искать

pg_verify_checksums on ubuntu 16.04

От:
Rein Petersen <email@reinpetersen.com>
Дата:
I have pg11.9 on ub16.04 and was expecting to find pg_verify_checksums command but it's nowhere to be found. any suggestions where i might find or install it?

Rein

Re: pg_verify_checksums on ubuntu 16.04

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Rein Petersen  writes:
> I have pg11.9 on ub16.04 and was expecting to find pg_verify_checksums
> command but it's nowhere to be found. any suggestions where i might find or
> install it?

Are you quite sure it's PG v11?  Later releases renamed that to
pg_checksums.

Otherwise, maybe Ubuntu put it in some sub-package you didn't install.

			regards, tom lane


Re: pg_verify_checksums on ubuntu 16.04

От:
Christophe Pettus <xof@thebuild.com>
Дата:


> On Jul 28, 2021, at 09:47, Tom Lane  wrote:
> 
> Rein Petersen  writes:
>> I have pg11.9 on ub16.04 and was expecting to find pg_verify_checksums
>> command but it's nowhere to be found. any suggestions where i might find or
>> install it?
> 
> Are you quite sure it's PG v11?  Later releases renamed that to
> pg_checksums.
> 
> Otherwise, maybe Ubuntu put it in some sub-package you didn't install.

In Debian/Ubuntu packaging, pg_checksums is with the other binaries in:

	/usr/lib/postgresql//bin/

That's usually not in $PATH, so the OP may have to fully-qualify the command or add that to the path.

FAQ