Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 325E41337990; Mon, 14 Feb 2011 11:25:29 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 41501-07; Mon, 14 Feb 2011 15:25:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 4B709133740B; Mon, 14 Feb 2011 11:25:19 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p1EFPIb3020218; Mon, 14 Feb 2011 10:25:18 -0500 (EST) To: Dimitri Fontaine cc: pgsql-hackers@postgresql.org, pgsql-docs@postgresql.org Subject: Re: [HACKERS] "Extension" versus "module" In-reply-to: <87r5ba4z1x.fsf@2ndQuadrant.fr> References: <25160.1297664305@sss.pgh.pa.us> <87r5ba4z1x.fsf@2ndQuadrant.fr> Comments: In-reply-to Dimitri Fontaine message dated "Mon, 14 Feb 2011 12:48:26 +0100" Date: Mon, 14 Feb 2011 10:25:18 -0500 Message-ID: <20217.1297697118@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/49 X-Sequence-Number: 6397 Dimitri Fontaine writes: > Tom Lane writes: >> Appendix F (contrib.sgml and its subsidiary files) is pretty consistent >> about using "module" to refer to a contrib, uh, module. > I'm now thinking in those terms: the module is the shared object library > that the backend needs to dlopen(). The extension is the SQL level > object that wraps all its components. Hmm ... but what of contrib "modules" that don't build shared libraries at all --- pgbench and pg_upgrade for example? I think "shared library" is a perfectly fine term for that kind of object, and we don't need an alias for it anyway. regards, tom lane