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 1jKPRg-0006wr-Ho for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Apr 2020 16:45:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jKPRf-0006hL-Dg for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Apr 2020 16:45:27 +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 1jKPRf-0006gv-2F for pgsql-hackers@lists.postgresql.org; Fri, 03 Apr 2020 16:45:27 +0000 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jKPRV-0004gn-Os for pgsql-hackers@postgresql.org; Fri, 03 Apr 2020 16:45:25 +0000 Received: by mail-qk1-x743.google.com with SMTP id k13so8696594qki.2 for ; Fri, 03 Apr 2020 09:45:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=MEdvVfiAE2XQvcpp2msgqV6WhiuvQi7mgytU6XDISGk=; b=ZjSWcg2ju8VVPfiQzgk1y9Yk6wmLdLGsW1vWo+5S+I4nHuih1/eQMQdLqMK8BtHqpM bDrU82ajI9E64J1oODpNbhFjA4kcoZhk7186m0hcZB0gvJ7c2DWDWFXS0A20cZFK4rBc KuJREwLWohk4GSo2wpdGaTNJniYQeFOZQedWUQwMsb61/n7sI0XpoZJSdq2v48ORt+Vi qX+QGlDdmBYVXyJzcUJRUqe8ADT9+Ze2dpUVG8R+vtnhKPDn2BYlm/bfqSupqDz6eoL9 lDOgCxFqq/IimE9ItmnQar74rr/G48kbfkVadcArj4ncnV3KklRFF+v1URZMXgmVHc/S xt1g== 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:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=MEdvVfiAE2XQvcpp2msgqV6WhiuvQi7mgytU6XDISGk=; b=QJVd38A0Gaep9GdiUB71gIXiGki2Nh05hL31CEbKnpNiFHrGwOVAjYGfhJq4/RV/8p vLVDo7rz9nj+GKkqR9cSPXT8BVmrnUmCzBQflguTpHSrrKSNVdYnHZ5EnCCmslmAeqb5 79UgwndnI7V+7tdo19TWO93j+GrGtFI+rGAX9kE64CdjRrvZH8YK+lgeRVqyu/AWzZjy 7V1bfykfwz4oV+6Tvr7wJPvsasRDmrbrD3q/Xh+QMWWZBPD40pBG/kovRAHwS7hAYnqV nM9V+Z1LSqH6Y/LA4Tn4/uAfs+9lmM27yli/mrx5E/5TDvrqSxQB67uK+OS34v62MLRo Ip0Q== X-Gm-Message-State: AGi0PuacOvStg5IjY8tPHcNPCR8/6m0XoeKW1xbtUeVY7bTRr58uHHg8 EE7cExoogIIdKG1RPfnDdATQLA== X-Google-Smtp-Source: APiQypL/fovOPlrTgHI6d2im5Z0w7vE+SQ02IqoIhQO9bkFVL2dejU26Meqw7B4llzs3Knc9Mc++Ag== X-Received: by 2002:a37:5256:: with SMTP id g83mr9554490qkb.91.1585932316397; Fri, 03 Apr 2020 09:45:16 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id u51sm7148807qth.46.2020.04.03.09.45.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Apr 2020 09:45:15 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 66387300AA5; Fri, 3 Apr 2020 13:45:13 -0300 (-03) Date: Fri, 3 Apr 2020 13:45:13 -0300 From: Alvaro Herrera To: Justin Pryzby Cc: Corey Huinker , =?iso-8859-1?Q?J=FCrgen?= Purtz , Roger Harkavy , pgsql-hackers@postgresql.org, Fabien COELHO , Michael Paquier Subject: Re: Add A Glossary Message-ID: <20200403164513.GA25722@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200402222639.GI14618@telsasoft.com> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Pushed now. Many thanks to Corey who put the main thrust, and to Jürgen and Roger for the great help, and to Justin for the extensive review and Fabien for the initial discussion. This is just a starting point. Let's keep improving it. And how that we have it, we can start thinking of patching the main part of the docs to make reference to it by using in key spots. Right now the glossary links to itself, but it makes lots of sense to have other places point to it. On 2020-Apr-02, Justin Pryzby wrote: > We already have Session: > A Connection to the Database. Yes, but I didn't like that much, so I rewrote it -- I was asking for suggestions on how to improve it further. While I think we use those terms (connection and session) interchangeably sometimes, they're not exactly the same and the glossary should be more precise or at least less vague about the distinction. > I propose: Client: > A host (or a process on a host) which connects to a server to make > queries or other requests. > > But note, "host" is still defined as "server", which I didn't like. > > Maybe it should be: > A computer which may act as a >client< or a >server<. I changed all these terms, and a few others, added a couple more and commented out some that I was not happy with, and pushed. I think this still needs more work: * We had "serializable", but none of the other isolation levels were defined. If we think we should define them, let's define them all. But also the definition we had for serializable was not correct; it seemed more suited to define "repeatable read". * I commented out the definition of "sequence", which seemed to go into excessive detail. Let's have a more concise definition? * We're missing exclusion constraints, and NOT NULL which is also a weird type of constraint. Patches for these omissions, and other contributions, welcome. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services