Make StringInfo available to frontend code.

2019-10-29 Thread Andres Freund
Hi, This patch, in a slightly rougher form, was submitted as part of [1], but it seems worth bringing up separately, rather than just committing hearing no objections. >From the commit message: Make StringInfo available to frontend code. There's plenty places in frontend c

Re: Make StringInfo available to frontend code.

2019-10-29 Thread Kyotaro Horiguchi
At Tue, 29 Oct 2019 17:10:01 -0700, Andres Freund wrote in > Hi, > > This patch, in a slightly rougher form, was submitted as part of [1], > but it seems worth bringing up separately, rather than just committing > hearing no objections. .. > I'm still using stringinfo in the aforementioned threa

Re: Make StringInfo available to frontend code.

2019-10-29 Thread Andres Freund
Hi, On 2019-10-30 10:58:59 +0900, Kyotaro Horiguchi wrote: > At Tue, 29 Oct 2019 17:10:01 -0700, Andres Freund wrote > in > > Hi, > > > > This patch, in a slightly rougher form, was submitted as part of [1], > > but it seems worth bringing up separately, rather than just committing > > hearing

Re: Make StringInfo available to frontend code.

2019-10-29 Thread Kyotaro Horiguchi
Hello. At Tue, 29 Oct 2019 19:06:38 -0700, Andres Freund wrote in > Hi, > > On 2019-10-30 10:58:59 +0900, Kyotaro Horiguchi wrote: > > At Tue, 29 Oct 2019 17:10:01 -0700, Andres Freund > > wrote in > > > Hi, > > > > > > This patch, in a slightly rougher form, was submitted as part of [1], >

Re: Make StringInfo available to frontend code.

2019-11-01 Thread Daniel Gustafsson
> On 30 Oct 2019, at 01:10, Andres Freund wrote: > Make StringInfo available to frontend code. I’ve certainly wanted just that on multiple occasions, so +1 on this. >Therefore it seems best to just making StringInfo being usable by >frontend code. There's not mu

Re: Make StringInfo available to frontend code.

2019-11-01 Thread Andres Freund
Hi, On 2019-11-01 23:19:33 +0100, Daniel Gustafsson wrote: > > On 30 Oct 2019, at 01:10, Andres Freund wrote: > > >Make StringInfo available to frontend code. > > I’ve certainly wanted just that on multiple occasions, so +1 on this. Cool. > + * StringInfo provi

Re: Make StringInfo available to frontend code.

2019-11-02 Thread Daniel Gustafsson
> On 2 Nov 2019, at 03:21, Andres Freund wrote: > On 2019-11-01 23:19:33 +0100, Daniel Gustafsson wrote: >> + * StringInfo provides an extensible string data type. It can be used to >> >> It might be useful to point out the upper bound on the extensibility in the >> rewrite of this sentence, an

Re: Make StringInfo available to frontend code.

2019-11-05 Thread Andres Freund
Hi, On 2019-11-02 23:57:06 +0100, Daniel Gustafsson wrote: > > On 2 Nov 2019, at 03:21, Andres Freund wrote: > > On 2019-11-01 23:19:33 +0100, Daniel Gustafsson wrote: > > >> + * StringInfo provides an extensible string data type. It can be used to > >> > >> It might be useful to point out the