pgsql: Fix some issues with WAL segment opening for pg_receivewal --com

2021-07-19 Thread Michael Paquier
Fix some issues with WAL segment opening for pg_receivewal --compress The logic handling the opening of new WAL segments was fuzzy when using --compress if a partial, non-compressed, segment with the same base name existed in the repository storing those files. In this case, using --compress woul

pgsql: Fix some issues with WAL segment opening for pg_receivewal --com

2021-07-19 Thread Michael Paquier
Fix some issues with WAL segment opening for pg_receivewal --compress The logic handling the opening of new WAL segments was fuzzy when using --compress if a partial, non-compressed, segment with the same base name existed in the repository storing those files. In this case, using --compress woul

pgsql: Fix some issues with WAL segment opening for pg_receivewal --com

2021-07-19 Thread Michael Paquier
Fix some issues with WAL segment opening for pg_receivewal --compress The logic handling the opening of new WAL segments was fuzzy when using --compress if a partial, non-compressed, segment with the same base name existed in the repository storing those files. In this case, using --compress woul

pgsql: Fix some issues with WAL segment opening for pg_receivewal --com

2021-07-19 Thread Michael Paquier
Fix some issues with WAL segment opening for pg_receivewal --compress The logic handling the opening of new WAL segments was fuzzy when using --compress if a partial, non-compressed, segment with the same base name existed in the repository storing those files. In this case, using --compress woul

pgsql: Fix some issues with WAL segment opening for pg_receivewal --com

2021-07-19 Thread Michael Paquier
Fix some issues with WAL segment opening for pg_receivewal --compress The logic handling the opening of new WAL segments was fuzzy when using --compress if a partial, non-compressed, segment with the same base name existed in the repository storing those files. In this case, using --compress woul

pgsql: Fix some issues with WAL segment opening for pg_receivewal --com

2021-07-19 Thread Michael Paquier
Fix some issues with WAL segment opening for pg_receivewal --compress The logic handling the opening of new WAL segments was fuzzy when using --compress if a partial, non-compressed, segment with the same base name existed in the repository storing those files. In this case, using --compress woul