pgsql: Make lsn argument of walrcv_create_slot() optional

2020-01-11 Thread Peter Eisentraut
Make lsn argument of walrcv_create_slot() optional Some callers are not using it, so it's wasteful to have to specify it. Reviewed-by: Masahiko Sawada Discussion: https://www.postgresql.org/message-id/ca+fd4k4bcyryucnftnk-cqx3+jsg+prpehhauso-w4p0lec...@mail.gmail.com Branch -- master Deta

pgsql: Extensive code review for GSSAPI encryption mechanism.

2020-01-11 Thread Tom Lane
Extensive code review for GSSAPI encryption mechanism. Fix assorted bugs in handling of non-blocking I/O when using GSSAPI encryption. The encryption layer could return the wrong status information to its caller, resulting in effectively dropping some data (or possibly in aborting a not-broken co

pgsql: Extensive code review for GSSAPI encryption mechanism.

2020-01-11 Thread Tom Lane
Extensive code review for GSSAPI encryption mechanism. Fix assorted bugs in handling of non-blocking I/O when using GSSAPI encryption. The encryption layer could return the wrong status information to its caller, resulting in effectively dropping some data (or possibly in aborting a not-broken co