Re: knngist patch support
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Joshua Tolley <eggyknap@gmail.com>, pgsql-hackers@postgresql.org
Date: 2010-02-13T20:48:38Z
Lists: pgsql-hackers
On Sat, Feb 13, 2010 at 3:02 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > What would probably be the recommended solution for backwards-compatible > source code is to convert the actual calls to new style, and then > provide a block of macro definitions along the lines of > > #if CATALOG_VERSION_NO < something > #define SearchSysCache1(...) SearchSysCache(..., 0, 0, 0) > #define SearchSysCache2(...) SearchSysCache(..., 0, 0) > etc > > So that seems okay so far. Where would we put this block of code? ...Robert