Re: More long-string woes - Mailing list pgsql-sql

From Tom Lane
Subject Re: More long-string woes
Date
Msg-id 5364.1020578500@sss.pgh.pa.us
Whole thread Raw
In response to More long-string woes  (Joseph Barillari <jbarilla@princeton.edu>)
Responses Re: More long-string woes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Joseph Barillari <jbarilla@princeton.edu> writes:
> [ problems with long literals in plpgsql ]

I'm amazed no one has noticed this before.  plpgsql_dstring_append
is broken: it assumes it never needs to more than double the size
of the string.

Too tired to commit a fix tonight, but that's where the problem
lies...
        regards, tom lane


pgsql-sql by date:

Previous
From: Masaru Sugawara
Date:
Subject: Re: difficult query
Next
From: "Joel Burton"
Date:
Subject: Re: difficult query