Re: Another swing at JSON
Dimitri Fontaine <dimitri@2ndquadrant.fr>
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Dimitri Fontaine <dimitri@2ndQuadrant.fr>, Alvaro Herrera <alvherre@commandprompt.com>, Joseph Adams <joeyadams3.14159@gmail.com>, David Fetter <david@fetter.org>, Robert Haas <robertmhaas@gmail.com>, Josh Berkus <josh@agliodbs.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-04-02T20:10:18Z
Lists: pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes: > Dimitri Fontaine <dimitri@2ndQuadrant.fr> writes: >> This and removing module_pathname in the control files to just use >> $libdir/contrib in the .sql files. That would set a better example to >> people who want to make their own extensions, as the general case is >> that those will not get into contrib. > > My original intention when I started working with the extensions patch > had in fact been to do what you suggest above, but I was convinced not > to. I don't think we should reverse that decision at the last minute. Ok, I'll trust you on that. So the other way to ease compatibility would be to keep the .sql.in to .sql Makefile rule in pgxs.mk but make it just to a copy in 9.1. Then the same old script will just continue working as soon as you edit the module_pathname in the control file. Regards, -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support