Re: refactoring basebackup.c - Mailing list pgsql-hackers

From Jeevan Ladhe
Subject Re: refactoring basebackup.c
Date
Msg-id CAOgcT0PCZ-2Gex1n9Ob+FAirStFmMXiiFxXQU1+=y1+G60UoQw@mail.gmail.com
Whole thread Raw
In response to Re: refactoring basebackup.c  (Jeevan Ladhe <jeevan.ladhe@enterprisedb.com>)
List pgsql-hackers
 
I think you are right, I have removed the message and again introduced
the Assert() back.
In my previous version of patch, this was a problem, basically, there should
not be an assert as the code is still reachable be it server-lz4 or client-lz4.
I removed the assert and added the level range check there similar to gzip.

Regards,
Jeevan Ladhe

Attachment

pgsql-hackers by date:

Previous
From: Sergey Dudoladov
Date:
Subject: Re: Add connection active, idle time to pg_stat_activity
Next
From: Robert Haas
Date:
Subject: Re: make MaxBackends available in _PG_init