From:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To:
Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
Cc:
Alvaro Herrera <alvherre(at)commandprompt(dot)com>,
Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>,
David Fetter <david(at)fetter(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>,
Josh Berkus <josh(at)agliodbs(dot)com>,
pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject:
Re: Another swing at JSON
Date:
2011-04-02 18:59:01
Message-ID:
28528.1301770741@sss.pgh.pa.us (view raw or flat )
Thread:
2011-03-28 17:21:20 from Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>
2011-03-28 17:48:26 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-03-28 18:03:45 from Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>
2011-03-28 18:17:20 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-03-29 02:24:10 from Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>
2011-03-29 14:26:21 from Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
2011-03-29 16:57:21 from Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>
2011-03-29 18:42:41 from Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
2011-03-29 18:56:52 from Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>
2011-03-29 23:54:21 from David Fetter <david(at)fetter(dot)org>
2011-03-29 19:37:30 from Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>
2011-03-29 20:02:03 from Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
2011-03-30 01:15:11 from Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>
2011-03-30 02:46:09 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2011-03-30 08:27:07 from Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
2011-03-30 13:27:39 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2011-03-30 13:32:55 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2011-03-30 13:42:31 from David Fetter <david(at)fetter(dot)org>
2011-03-30 15:26:45 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2011-03-30 15:37:04 from Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
2011-03-30 15:47:09 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2011-03-30 16:29:32 from Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
2011-03-30 16:38:33 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2011-03-30 18:05:36 from Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
2011-03-30 20:08:56 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2011-04-02 18:53:00 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-04-02 20:14:27 from Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
2011-03-30 13:28:11 from David Fetter <david(at)fetter(dot)org>
2011-04-02 18:59:01 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-04-02 20:10:18 from Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
2011-06-16 21:29:27 from Bernd Helmle <mailings(at)oopsware(dot)de>
2011-06-16 21:38:07 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-06-17 06:29:58 from Bernd Helmle <mailings(at)oopsware(dot)de>
2011-06-17 22:06:58 from Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>
2011-06-18 10:29:38 from Bernd Helmle <mailings(at)oopsware(dot)de>
2011-03-28 23:44:46 from Josh Berkus <josh(at)agliodbs(dot)com>
Lists:
pgsql-hackers
Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)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.
I'm not sure it's a better example. We considered doing that before,
and decided not to on the grounds that using MODULE_PATHNAME avoids
hard-wiring the name of the shared library into the SQL scripts. Also,
IIRC, there are a couple of contrib modules where there's an actual
problem in doing it like that; though I'm unable to recall details as
I'm fighting a head cold at the moment.
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.
regards, tom lane
In response to
Responses
pgsql-hackers by date
Next :From: Tom LaneDate: 2011-04-02 19:12:32
Subject : Re: 9.0.3 SIGFAULT on FreeBSD with dtrace
Previous :From : Joseph AdamsDate : 2011-04-02 18:56:09
Subject : Re: psql 9.1 alpha5: connection pointer is NULL