Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jlM1d-0003Ma-2b for pgsql-docs@arkaria.postgresql.org; Wed, 17 Jun 2020 00:33:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jlM1b-0000hT-TZ for pgsql-docs@arkaria.postgresql.org; Wed, 17 Jun 2020 00:33:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jlM1b-0000hM-Jm for pgsql-docs@lists.postgresql.org; Wed, 17 Jun 2020 00:33:55 +0000 Received: from mail-io1-xd42.google.com ([2607:f8b0:4864:20::d42]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jlM1Z-0004Q1-0m for pgsql-docs@lists.postgresql.org; Wed, 17 Jun 2020 00:33:54 +0000 Received: by mail-io1-xd42.google.com with SMTP id w18so722991iom.5 for ; Tue, 16 Jun 2020 17:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hVjCie7U80EEyJ2QpZXn1zWYJKt1jphOAcSeZOpyVkk=; b=N47W9wNyck62jKE9ajYqRakKhkkxfy+aYHJlyTrxWjmNqQsWXUZNlzqAv+ZJX/I7jr vxIACjdM/Z+odPFlnknHWbVsclRYGZDxBtfiJ9L1PNCQT0lLfb7ExFNlqmcB2/2Q5Yr8 y61gYmQbxl1bPV+572s1iy7yi/4+pb80mlWLv+EUwubsY3hkhBwoBHV8zRr/QzpQt2mY ErBnZftPuHP9fdN9iqw/ANyVqLDVRLK+5bpSOlyp1V/gac+nvtgQZZl0iTnlD8Z2260t 5H5uvK9vMF/3EZ3fzbg0AqUwrdGl00v1JjY4vUr1nMXYP7hw8H1FfMO2s5VVOJ0pkY8n ZFfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hVjCie7U80EEyJ2QpZXn1zWYJKt1jphOAcSeZOpyVkk=; b=cnpJKGCumIWw5L4F06JfVc3OGDfZ5Nq5mr6LvOe0GkELT0Gm1A3mBV7EGNcsqKeXZU UjfW6swO4WoxlZnL6ZTmvvnaIC8KInkq/0cTwS8tpgswCxPHvZVnNgvoyFORWbikn2K7 jCZPL6SrG52JuNhH3i5wc/PXA8yL3TSLboPi61vzLGbbXgPgib4e5CgPg6KNoM9VQ9hE +zVcVIT+uU3Nsm0pegv4XTCLchWdSLwZYyETdEn1lYqjSTWKS0100w6A37dmMViEhN7I 0wZ5V73gkgoIKYBYjN0IF0Qvfa3eFK1fPdgBMEiYI3o6k6GO+lM5z87G9ZYxMxE+X8FN P7EA== X-Gm-Message-State: AOAM532G9sGJQZQC8YlxXitYQP/49jFXf98etK+y36GA+yRZ57fiJ16p bsSK7+HAztS9o38HXZ7DpcHGNg== X-Google-Smtp-Source: ABdhPJx4Mi4pI+sQsvEA//lyyP3dHrgUPURQCdkvKChDWamduXcLuhBlCEU0jb4t7/Y+W3zSSFBr/g== X-Received: by 2002:a6b:fc0d:: with SMTP id r13mr5845012ioh.40.1592354032025; Tue, 16 Jun 2020 17:33:52 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id w21sm10934229ioa.48.2020.06.16.17.33.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jun 2020 17:33:51 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id C03F9800127; Tue, 16 Jun 2020 19:33:49 -0500 (CDT) Date: Tue, 16 Jun 2020 19:33:49 -0500 From: Justin Pryzby To: Alvaro Herrera Cc: =?iso-8859-1?Q?J=FCrgen?= Purtz , Erik Rijkers , Laurenz Albe , Fabien COELHO , Peter Eisentraut , Corey Huinker , Roger Harkavy , pgsql-hackers@postgresql.org, Michael Paquier , Pg Docs Subject: Re: Add A Glossary Message-ID: <20200617003349.GN20404@telsasoft.com> References: <20200617000926.GA11060@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200617000926.GA11060@alvherre.pgsql> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, Jun 16, 2020 at 08:09:26PM -0400, Alvaro Herrera wrote: > diff --git a/doc/src/sgml/glossary.sgml b/doc/src/sgml/glossary.sgml > index 25b03f3b37..e29b55e5ac 100644 > --- a/doc/src/sgml/glossary.sgml > +++ b/doc/src/sgml/glossary.sgml > @@ -395,15 +395,15 @@ > > The base directory on the filesystem of a > server that contains all > - data files and subdirectories associated with an > - instance (with the > - exception of tablespaces). > + data files and subdirectories associated with a > + database cluster > + (with the exception of > + tablespaces). and (optionally) WAL > + > + Database cluster > + > + > + A collection of databases and global SQL objects, > + and their common static and dynamic meta-data. metadata > @@ -1245,12 +1255,17 @@ > SQL objects, > which all reside in the same > database. > - Each SQL object must reside in exactly one schema. > + Each SQL object must reside in exactly one schema > + (though certain types of SQL objects exist outside schemas). (except for global objects which ..) > > The names of SQL objects of the same type in the same schema are enforced > to be unique. > There is no restriction on reusing a name in multiple schemas. > + For local objects that exist outside schemas, their names are enforced > + unique across the whole database. For global objects, their names I would say "unique within the database" > + are enforced unique across the whole > + database cluster. and "unique within the whole db cluster" > Most local objects belong to a specific > - schema in their containing database. > + schema in their > + containing database, such as > + all types of relations, > + all types of functions, Maybe say: >Relations< (all types), and >Functions< (all types) > used as the default one for all SQL objects, called pg_default. "the default" (remove "one") -- Justin