Re: best place for "rtree" strategy numbers

From: Emre Hasegeli <emre(at)hasegeli(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvaro(dot)herrera(at)2ndquadrant(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: best place for "rtree" strategy numbers
Date: 2015-05-25 10:04:18
Message-ID: CAE2gYzw6idUzpzmqWrPps3N83+AmU=PB+HWb0rgi-ovpSFNKDQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Adjacent strategy number of range types don't match the central
definitions. Attached patch changes it.

Also, maybe it is better to include stratnum.h on rangetypes.h and
inet.h rather than the .c files as the definitions are used in the
headers. I wouldn't re-define them, anyway. Two definitions just to
say 3 is too much for my taste.

Attachment Content-Type Size
change-range-adjacent-strategy-number.patch application/octet-stream 6.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2015-05-25 10:35:40 Re: Missing importing option of postgres_fdw
Previous Message Amit Langote 2015-05-25 09:38:51 Update README.tuplock?