Gracefully handling variable-length data types at the 8k limit? - Mailing list pgsql-general

From Michael Robinson
Subject Gracefully handling variable-length data types at the 8k limit?
Date
Msg-id 199806190503.NAA07941@public.bta.net.cn
Whole thread Raw
List 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


pgsql-general by date:

Previous
From: Robin Thomas
Date:
Subject: Re: [GENERAL] COALESCE() or NVL()
Next
From: Maarten Boekhold
Date:
Subject: WWW: user gallery