Tom,
Attached is the modified pg_statistic.h file for this patch. As you
mentioned 200 - 299 is reserved for ESRI st_geometry type. Out of these
values I am using code 200 for st_geometry.
Related threads for this patch:
http://archives.postgresql.org/pgsql-hackers/2007-05/msg00043.php
http://archives.postgresql.org/pgsql-general/2007-04/msg01075.php
Thanks.
Ale.
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Friday, May 04, 2007 10:18 AM
To: Paul Ramsey
Cc: Ale Raza; pgsql-hackers@postgresql.org; John Baleja; PostGIS
Development Discussion
Subject: Re: [HACKERS] Where to find kind code for STATISTIC_KIND
GEOMETRY?
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