Re: TABLESAMPLE patch is really in pretty sad shape - Mailing list pgsql-hackers

From Emre Hasegeli
Subject Re: TABLESAMPLE patch is really in pretty sad shape
Date
Msg-id CAE2gYzyxScORFXe4P+jVKRmPB4NSH9eZmLDddBviV1TtpzpKmg@mail.gmail.com
Whole thread Raw
In response to Re: TABLESAMPLE patch is really in pretty sad shape  (Petr Jelinek <petr@2ndquadrant.com>)
List 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".



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: TABLESAMPLE patch is really in pretty sad shape
Next
From: Corey Huinker
Date:
Subject: Re: First Aggregate Funtion?