Re: Where to find kind code for STATISTIC_KIND GEOMETRY? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Where to find kind code for STATISTIC_KIND GEOMETRY?
Date
Msg-id 4510.1178299051@sss.pgh.pa.us
Whole thread Raw
In response to Re: Where to find kind code for STATISTIC_KIND GEOMETRY?  (Paul Ramsey <pramsey@refractions.net>)
Responses Patch: Allocation of "kind" codes for spatial type.  (Ale Raza <araza@esri.com>)
List pgsql-hackers
Paul Ramsey <pramsey@refractions.net> writes:
> Just take 150-199, and submit a patch to HACKERS to updates the comment 
> in pg_statistic appropriately. I am sure the it will be some time before 
> we invent another 49 kinds of selectivity statistic.

I've been on the wrong wavelength in this whole thread --- I thought the
OP wanted to know about some existing "kind" value used by PostGIS.  If
he's asking to be allocated some new "kind" values for code he intends
to write, I have no problem with giving him 200-299 ... it's not like
we seem to be in any danger of running out.  But please do submit a
patch in the style of the existing pg_statistic.h comments, showing who
controls those numbers and where they will be documented.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Teach tuplesort.c about "top N" sorting, in which only the first
Next
From: "Magnus Hagander"
Date:
Subject: Re: [COMMITTERS] pgsql: Teach tuplesort.c about "top N" sorting, in which only the first