Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id A8DC21336B42; Mon, 14 Feb 2011 02:18:33 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 66468-04; Mon, 14 Feb 2011 06:18:26 +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 D551E13364DE; Mon, 14 Feb 2011 02:18:25 -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 p1E6IPGj025161; Mon, 14 Feb 2011 01:18:25 -0500 (EST) To: pgsql-hackers@postgreSQL.org, pgsql-docs@postgreSQL.org Subject: "Extension" versus "module" Date: Mon, 14 Feb 2011 01:18:25 -0500 Message-ID: <25160.1297664305@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/48 X-Sequence-Number: 6396 Appendix F (contrib.sgml and its subsidiary files) is pretty consistent about using "module" to refer to a contrib, uh, module. I considered doing a search-and-replace to change this to "extension", but I'm not convinced that's a good idea. I think "extension" means a specific kind of SQL object that we just invented, and it's not exactly the same concept as "one of those subdirectories under contrib/". One pretty obvious example is that contrib/spi calls itself a module, and it's definitely not an extension --- it contains five extensions, none of them named "spi". Another problem is that we'd like to speak of upgrading a module from pre-9.1 to 9.1, and in only one of those two states is it strictly correct to call it an "extension". But in some sense it's still the same entity. So I'm not sure whether to change the text at all. Comments? regards, tom lane