Gracefully handling variable-length data types at the 8k limit?

From: Michael Robinson <robinson(at)public(dot)bta(dot)net(dot)cn>
To: pgsql-general(at)postgresql(dot)org
Subject: Gracefully handling variable-length data types at the 8k limit?
Date: 1998-06-19 05:03:00
Message-ID: 199806190503.NAA07941@public.bta.net.cn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have written an aggregate function which returns a "varlena" type whose
length is proportional to the number of rows passed to the function.

My question is what is the consensus on the best way to handle the case
where the input to the aggregate causes the length of the variable to
exceed the 8k limit? Abort the query? Generate an error message, and
discard subsequent data? Silently discard data? Something else?

-Michael Robinson

Browse pgsql-general by date

  From Date Subject
Next Message Maarten Boekhold 1998-06-19 12:19:31 WWW: user gallery
Previous Message Yuichiro Kinoshita 1998-06-18 21:09:32