hapostgres / pg_auto_failover

Postgres extension and service for automated failover and high-availability
Other
1.07k stars 112 forks source link

Fix history file parsing. #995

Closed dimitri closed 1 year ago

dimitri commented 1 year ago

The previous coding used a statically allocated array of pointers to newlines in that file, limiting our parsing abilities to files of 1024 lines maximum. Apparently that's not a good limit, so use dynamically allocated memory instead.

Fixes #991.