Re: TABLESAMPLE patch is really in pretty sad shape

From: Emre Hasegeli <emre(at)hasegeli(dot)com>
To: Petr Jelinek <petr(at)2ndquadrant(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: TABLESAMPLE patch is really in pretty sad shape
Date: 2015-07-20 15:39:19
Message-ID: CAE2gYzyxScORFXe4P+jVKRmPB4NSH9eZmLDddBviV1TtpzpKmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>> to handle DROP dependency behaviors properly. (On reflection, maybe
>> better if it's "bernoulli(internal) returns tablesample_handler",
>> so as to guarantee that such a function doesn't create a conflict with
>> any user-defined function of the same name.)
>
> The probability of conflict seems high with the system() so yeah we'd need
> some kind of differentiator.

Maybe it would be even better to have something like bernoulli(tablesample)
where "tablesample" defined as pseudo-type like "trigger".

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Corey Huinker 2015-07-20 16:02:34 Re: First Aggregate Funtion?
Previous Message Tom Lane 2015-07-20 15:23:54 Re: TABLESAMPLE patch is really in pretty sad shape