Lift line-length limit for pg_service.conf - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Lift line-length limit for pg_service.conf
Date
Msg-id 48A4FA71-524E-41B9-953A-FD04EF36E2E7@yesql.se
Whole thread Raw
Responses Re: Lift line-length limit for pg_service.conf
List 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



[0] CABUevEw_RRRgG2uwsO7CD0TQf+Z=oR=S1=QyifV8D_5hatJ=oQ@mail.gmail.com
Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [HACKERS] logical decoding of two-phase transactions
Next
From: Heikki Linnakangas
Date:
Subject: Re: Yet another fast GiST build