Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id E72B9475452 for ; Sun, 5 May 2002 02:01:43 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id BDEEC474E42 for ; Sun, 5 May 2002 02:01:42 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g4561fv05367; Sun, 5 May 2002 02:01:41 -0400 (EDT) To: Joseph Barillari Cc: pgsql-sql Subject: Re: More long-string woes In-reply-to: References: Comments: In-reply-to Joseph Barillari message dated "Sat, 04 May 2002 16:57:54 -0400" Date: Sun, 05 May 2002 02:01:40 -0400 Message-ID: <5364.1020578500@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200205/34 X-Sequence-Number: 7670 Joseph Barillari 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