Patch: Allocation of "kind" codes for spatial type.

Поиск
Список
Период
Сортировка
От Ale Raza
Тема Patch: Allocation of "kind" codes for spatial type.
Дата
Msg-id 7CAD6D9B7D16BC4A88795771E486508205C7C80B@pianowire.esri.com
обсуждение исходный текст
Ответ на Re: Where to find kind code for STATISTIC_KIND GEOMETRY?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Patch: Allocation of "kind" codes for spatial type.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Zeugswetter Andreas ADI SD"
Дата:
Сообщение: Re: Seq scans roadmap
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Managing the community information stream