> 11 марта 2021 г., в 13:12, Peter Eisentraut 
> <peter.eisentr...@enterprisedb.com> написал(а):
> 
> client-side tools whose sole task is to execute server-side functionality in 
> a slightly filtered way

By the way, can we teach pg_amcheck to verify database without creating local 
PGDATA and using bare minimum of file system quota?

We can implement a way for a pg_amcheck to ask for some specific file, which 
will be downloaded by backup tool and streamed to pg_amcheck.
E.g. pg_amcheck could have a restore_file_command = 'backup-tool bring-my-file 
%backup_id %file_name' and probably list_files_command='backup-tool list-files 
%backup_id'. And pg_amcheck could then fetch bare minimum of what is needed.

I see that this is somewhat orthogonal idea, but from my POV interesting one.

Best regards, Andrey Borodin.

Reply via email to