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 1mqO6A-0000jY-CK for pgsql-general@arkaria.postgresql.org; Thu, 25 Nov 2021 23:24:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mqO69-000569-2f for pgsql-general@arkaria.postgresql.org; Thu, 25 Nov 2021 23:24:13 +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 1mqO68-00055z-MG for pgsql-general@lists.postgresql.org; Thu, 25 Nov 2021 23:24:12 +0000 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mqO66-0005uv-9H for pgsql-general@lists.postgresql.org; Thu, 25 Nov 2021 23:24:11 +0000 Received: by mail-pg1-x530.google.com with SMTP id s137so6469287pgs.5 for ; Thu, 25 Nov 2021 15:24:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=dp6s9PeJfgj/cCTF/ZPBRCZ4h+1fao8CjIORWSzibF8=; b=YBS+qkJ5duExEMRAMDOtM/LOT83WjpiQwlY84HOizfmFd5x53ZKiVjqigbnZqU08uD VgLN6tbxNk+uQOaV3TolQQyW9jXI0nwVN/6kul9D+LSF4PUIdBXdmmoLpr+QghNlx0sS 2WGWfWepu6W2CJ7KJkucRDel6TnGDawx5YxelYhgnlEo1LHdo6rY9YOlFWSa+m9uE090 nGLwrsUOBVBkkQkLsi6CBIUlPywSHtB10H4VdxnVBL+cBskafeDe1TrMse3M38BBkqoU 2nS1MrNgqLdesGCKs0XSAm0itWrOuWbfe5axmIh2vWPZwXtJfZ5cbk20yavmrk/cwQmQ qXQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=dp6s9PeJfgj/cCTF/ZPBRCZ4h+1fao8CjIORWSzibF8=; b=3Reuma29fCxXaLlOpc6P+Tfq4wZkrRdOxAEqSOeH6qZchuIIApxo8oOoELs+0BHLHT gBw8SVeigW8cThSP3Doh6UI5LW7Ex5S/3EIkxa64RBvBfqzeUOXXsRCBDqAoanrb7ezg 7ErIsfNAGQ+JS/mogkstWBpCMie8L/mSmM53B72nxc4E+DeuYQ2+WnMjbP+4BvWpUc0x g/Ao/XlhWQJym7J+oyq5CHUfDee7pe0wbN5qm//HStlH68zdj+Upjl40cwiUYYLToLsJ cZjrBuGCq2UovSnEwmjhBKl4777b+VmsYFgXzoavhTF0ypT+rxdeKazzmE/zUOUUjGwx 1i0w== X-Gm-Message-State: AOAM530DrhGBaaWDjphM/mlpYHXGaDT1kwEgeNtMmoFYSHUFwc6yEwbP /P8395i8wpI0UwaXmlELjlw= X-Google-Smtp-Source: ABdhPJxl5rwUfvoOVnQ1Lwx4G1YrcqC1hUJfzfCSlrCkPWx7O7fW3mlIrHHVqx/+dHB4BGQkYawl8w== X-Received: by 2002:a63:b4a:: with SMTP id a10mr18648610pgl.360.1637882649221; Thu, 25 Nov 2021 15:24:09 -0800 (PST) Received: from smtpclient.apple ([2601:681:5500:dde0:cc33:f0a9:7c2f:a215]) by smtp.gmail.com with ESMTPSA id a22sm4220250pfh.111.2021.11.25.15.24.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Nov 2021 15:24:09 -0800 (PST) Content-Type: multipart/alternative; boundary=Apple-Mail-62496F95-E3AA-4D4A-9CA3-D3A5012CB8E4 Content-Transfer-Encoding: 7bit From: Rob Sargent Mime-Version: 1.0 (1.0) Subject: Re: Best examples of cardinality check and associated functions Date: Thu, 25 Nov 2021 16:24:08 -0700 Message-Id: <84D37100-F03C-4CD2-A3E3-DB11AF78D32A@gmail.com> References: Cc: pgsql-general In-Reply-To: To: Shaozhong SHI X-Mailer: iPhone Mail (18H107) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail-62496F95-E3AA-4D4A-9CA3-D3A5012CB8E4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On Nov 25, 2021, at 4:17 PM, Shaozhong SHI wrote:= >=20 > =EF=BB=BF > Hi, Rob, >=20 > I am reviewing robust automation to do so and promote the best practice. Sorry I still don=E2=80=99t know what you=E2=80=99re after. Relationship ca= rdinality, schema diagrams? >=20 > Regards, > David > D >=20 >> On Thu, 25 Nov 2021 at 22:24, Rob Sargent wrote: >>=20 >>=20 >> > On Nov 25, 2021, at 3:16 PM, Shaozhong SHI wro= te: >> >=20 >> > =EF=BB=BF >> > I wonder whether the Postgres community has got the best examples of ca= rdinality check and associated functions. >> >=20 >>=20 >> Are you looking for examples or opinions on the examples? >>=20 >> > Regards, >> >=20 >> > David --Apple-Mail-62496F95-E3AA-4D4A-9CA3-D3A5012CB8E4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable


On Nov 25, 2021, at 4:17 PM, Shaozhong SHI &l= t;shishaozhong@gmail.com> wrote:

=EF=BB=BF
Hi, Rob,

I am reviewing robust automation to do so and promote the best practi= ce.
Sorry I still don=E2=80=99t know what you=E2= =80=99re after.  Relationship cardinality, schema diagrams?


Regards,
David
D

On Thu, 25 Nov 2021 at 22:24, Rob S= argent <robjsargent@gmail.com> wrote:


> On Nov 25, 2021, at 3:16 PM, Shaozhong SHI <
shishaozhong@gmail.com> wrote: >
> =EF=BB=BF
> I wonder whether the Postgres community has got the best examples of ca= rdinality check and associated functions.
>

Are you looking for examples or opinions on the examples?

> Regards,
>
> David
= --Apple-Mail-62496F95-E3AA-4D4A-9CA3-D3A5012CB8E4--