Re: lz4 --rm on Ubuntu 18.04 (Add LZ4 compression to pg_dump)

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: lz4 --rm on Ubuntu 18.04 (Add LZ4 compression to pg_dump)
Дата
Msg-id 367105C9-D199-4D0A-B3D4-B07113440065@yesql.se
обсуждение исходный текст
Ответ на Re: lz4 --rm on Ubuntu 18.04 (Add LZ4 compression to pg_dump)  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
> On 6 Apr 2023, at 18:39, Justin Pryzby <pryzby@telsasoft.com> wrote:

> *If* you wanted to do something to fix this, you could create a key
> called files_to_remove_after_loading, and run unlink on those files
> rather than running a shell command.  Or maybe just remove the file
> unconditionally at the start of the script ?

Since the test is written in Perl, and Perl has a function for deleting files
which abstracts the platform differences, using it seems like a logical choice?
{cleanup_cmd} can be replaced with {cleanup_files} with an unlink called on
that?

--
Daniel Gustafsson




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: cataloguing NOT NULL constraints
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: what should install-world do when docs are not available?