Re: percentile value check can be slow

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jotpe <jotpe(at)posteo(dot)de>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: percentile value check can be slow
Date: 2017-11-18 15:44:36
Message-ID: 7314.1511019876@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

jotpe <jotpe(at)posteo(dot)de> writes:
> I tried to enter invalid percentile fractions, and was astonished that
> it seems to be checked after many work is done?

IIRC, only the aggregate's final-function is concerned with direct
arguments, so it's not all that astonishing.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2017-11-18 15:50:04 Re: to_typemod(type_name) information function
Previous Message Amit Kapila 2017-11-18 13:53:43 Re: [HACKERS] [POC] Faster processing at Gather node