Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRrXw-0006bM-9F for pgsql-docs@arkaria.postgresql.org; Thu, 21 Dec 2017 03:29:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRrXv-0001Vg-8U for pgsql-docs@arkaria.postgresql.org; Thu, 21 Dec 2017 03:29:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eRrXu-0001VV-Tf for pgsql-docs@lists.postgresql.org; Thu, 21 Dec 2017 03:29:23 +0000 Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eRrXo-000297-Hz for pgsql-docs@postgresql.org; Thu, 21 Dec 2017 03:29:21 +0000 Received: by mail-wr0-x22e.google.com with SMTP id u19so17630456wrc.3 for ; Wed, 20 Dec 2017 19:29:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ar1YocodPXvw8954gArke/ZYYcTwU+z6+z9eyZeFBVE=; b=Aygl7XK1rb732tn66NWU10H2i1RmZ2H2b7EcpNhggoy96RCl0pqyGEYyDo/tP6IdeT GdKeNjQolTABIn+4JIaCuq2vSxqjHvTi/3wWc4E0od3ALrGMx1yBoJNKWVwW5n377ykU WUs+f6WRsnZisUkvCreh7hOTHh7/0p7lfTPnSZ4eUCippgwCA8OgoOvze0MY39w1DzNS pu6OCiTycUxT5MIS6Vxg4i/X161xUmd0T8hRzwBCtAYVOQAeMxCRW9T2B2OmJ4XDzTSu YVbPOBhLS+IwY6rG6HOMu5WxbJQk67vjVPK/daStdzXPmWURo8MDz3IvHpx/MNBw/BQ7 ZvlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ar1YocodPXvw8954gArke/ZYYcTwU+z6+z9eyZeFBVE=; b=Tuul9937VC5m8sw5vyWjolLKPpR5D586f4fidWY2iyFla0k/FZ/AHiZ94JC6L93vXV tpd83GV0zU4BaQ/OcOM9WYpn9gfcal/vaRUPbirfxq8OsHRWq2f6azbfKaRKW/Adeo2g fM0epVJUbLuXoTDPBFQXaIhxqrzXnyBRh36HXy1hFiD8eWKcA54CxPG56HD5WIlrzawC dvsF9k4ep2C0GJv7zkkL0Dx7hwYIy6YTMTCEJq6KbnG7XImlyisNex7hK787YSz3Yujy sK5iXunlYZhaZXpC5Tp8kPE588TZ+KD10rlm+ahjbcpYcHdYY5kElP8lAo0Vp47z3ls3 mqzA== X-Gm-Message-State: AKGB3mLH2az1n5D3uEt2MBswMH+NbNDNaesi4nEdC6bxatsGDkqmAeYl Fq+Cr2dmogCkcPz3oc34zBzwofgpvTBXSmm1zi0= X-Google-Smtp-Source: ACJfBoung2WBhHmqfp32ZxQbK35ov5c8xX3EHqfF/zgo3k/9Os0TQojdAwiwuhe2YfxFUoPUkFip0oueyhjTT8ec58o= X-Received: by 10.223.144.204 with SMTP id i70mr10614003wri.57.1513826953000; Wed, 20 Dec 2017 19:29:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.169.5 with HTTP; Wed, 20 Dec 2017 19:29:12 -0800 (PST) In-Reply-To: <20171221031511.GX4628@tamriel.snowman.net> References: <20171220090816.25744.72592@wrigleys.postgresql.org> <20171221031511.GX4628@tamriel.snowman.net> From: Michael Paquier Date: Thu, 21 Dec 2017 12:29:12 +0900 Message-ID: Subject: Re: Missing column_constraint explanation To: Stephen Frost Cc: lampacz@gmail.com, pgsql-docs@postgresql.org Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, Dec 21, 2017 at 12:15 PM, Stephen Frost wrote: > Now, if we could do that in such a way that we avoid having to actually > duplicate the 'source' for these productions into different places in > the documentation, that would be fantastic because it certainly isn't > fun having to find all the places that need to be updated, but I'm not > sure how easy that would be to do (and to make work with how psql's help > is generated...). You are looking for something like how feature-supported.sgml is handled after its automatic generation, except that in this case you just create a new sgml file which has the definition data you want to load, define it with , and then load it using something like an entity &blah; in the CREATE or ALTER TABLE docs. That's a bit of refactoring though, but you could shape it by putting all those lower-level definitions in a subdirectory like sgml/defs or such, avoiding any duplication in those definitions. -- Michael