| From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
|---|---|
| To: | Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Lift line-length limit for pg_service.conf |
| Date: | 2020-09-21 11:56:00 |
| Message-ID: | 48A4FA71-524E-41B9-953A-FD04EF36E2E7@yesql.se |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
The pg_service.conf parsing thread [0] made me realize that we have a hardwired
line length of max 256 bytes. Lifting this would be in line with recent work
for ecpg, pg_regress and pg_hba (784b1ba1a2 and 8f8154a50). The attached moves
pg_service.conf to use the new pg_get_line_append API and a StringInfo to lift
the restriction. Any reason not to do that while we're lifting other such limits?
cheers ./daniel
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Remove-arbitrary-line-length-in-pg_service.conf-pars.patch | application/octet-stream | 4.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2020-09-21 11:56:44 | Re: Yet another fast GiST build |
| Previous Message | Amit Kapila | 2020-09-21 11:54:41 | Re: [HACKERS] logical decoding of two-phase transactions |