pgsql: Teach libpq to handle arbitrary-length lines in .pgpass files.

2020-09-01 Thread Tom Lane
Teach libpq to handle arbitrary-length lines in .pgpass files. Historically there's been a hard-wired assumption here that no line of a .pgpass file could be as long as NAMEDATALEN*5 bytes. That's a bit shaky to start off with, because (a) there's no reason to suppose that host names fit in NAMED

pgsql: Teach libpq to handle arbitrary-length lines in .pgpass files.

2020-09-01 Thread Tom Lane
Teach libpq to handle arbitrary-length lines in .pgpass files. Historically there's been a hard-wired assumption here that no line of a .pgpass file could be as long as NAMEDATALEN*5 bytes. That's a bit shaky to start off with, because (a) there's no reason to suppose that host names fit in NAMED

pgsql: Teach libpq to handle arbitrary-length lines in .pgpass files.

2020-09-01 Thread Tom Lane
Teach libpq to handle arbitrary-length lines in .pgpass files. Historically there's been a hard-wired assumption here that no line of a .pgpass file could be as long as NAMEDATALEN*5 bytes. That's a bit shaky to start off with, because (a) there's no reason to suppose that host names fit in NAMED

pgsql: Teach libpq to handle arbitrary-length lines in .pgpass files.

2020-09-01 Thread Tom Lane
Teach libpq to handle arbitrary-length lines in .pgpass files. Historically there's been a hard-wired assumption here that no line of a .pgpass file could be as long as NAMEDATALEN*5 bytes. That's a bit shaky to start off with, because (a) there's no reason to suppose that host names fit in NAMED

pgsql: Teach libpq to handle arbitrary-length lines in .pgpass files.

2020-09-01 Thread Tom Lane
Teach libpq to handle arbitrary-length lines in .pgpass files. Historically there's been a hard-wired assumption here that no line of a .pgpass file could be as long as NAMEDATALEN*5 bytes. That's a bit shaky to start off with, because (a) there's no reason to suppose that host names fit in NAMED

pgsql: Teach libpq to handle arbitrary-length lines in .pgpass files.

2020-09-01 Thread Tom Lane
Teach libpq to handle arbitrary-length lines in .pgpass files. Historically there's been a hard-wired assumption here that no line of a .pgpass file could be as long as NAMEDATALEN*5 bytes. That's a bit shaky to start off with, because (a) there's no reason to suppose that host names fit in NAMED

pgsql: Teach libpq to handle arbitrary-length lines in .pgpass files.

2020-09-01 Thread Tom Lane
Teach libpq to handle arbitrary-length lines in .pgpass files. Historically there's been a hard-wired assumption here that no line of a .pgpass file could be as long as NAMEDATALEN*5 bytes. That's a bit shaky to start off with, because (a) there's no reason to suppose that host names fit in NAMED