On Thu, Jul 30, 2015 at 9:17 PM, Josh Berkus <j...@agliodbs.com> wrote:
> In guc.c, the maximum for wal_buffers is INT_MAX.  However, wal_buffers
> is actually measured in 8KB buffers, not in bytes.  This means that
> users are able to set wal_buffers > 2GB.  When the database is started,
> this can cause a core dump if the WAL offset is > 2GB.

Why does this cause a core dump?  We could consider fixing whatever
the problem is rather than capping the value.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to