Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s37J5-009akY-KC for pgsql-general@arkaria.postgresql.org; Sat, 04 May 2024 04:47:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s37J0-00FAYw-It for pgsql-general@arkaria.postgresql.org; Sat, 04 May 2024 04:47:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s37J0-00FAYn-5Y for pgsql-general@lists.postgresql.org; Sat, 04 May 2024 04:47:27 +0000 Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s37Iy-001LdM-F2 for pgsql-general@lists.postgresql.org; Sat, 04 May 2024 04:47:25 +0000 Received: by mail-ot1-x32f.google.com with SMTP id 46e09a7af769-6eb8ea5ac95so180963a34.2 for ; Fri, 03 May 2024 21:47:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714798044; x=1715402844; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=glBPEwOlZPw+Fdc94oAc34vs6JGxDcAxrAriYF6uyEA=; b=nWrHsI5VQOdDdYQonZhOWsdzP8j9otdLlXx3UerN1cBOWNyWveJ19V7ok5fqj1s+o4 BtFZfQJEfylocttjosR5vQeBwU3RJQ8RI2PlOcH0pAJG+wMwZbiPnz7PU3Fq9QtKPT1S PUWpcju3azQo2FJtbvTnLsQS17QLlX2icQciy2DHBlaPEHjaFLo0OXCKlpZzArXDUtNY A9taJR3Exq1mlA8sOIG9dwpd/kYxuTRdBbRTbi13ogEwbDXFJfZDNOUMMakBA2HdsTBX jW+tz9KVpjO0D+SOF0ydRzDZ5vH0pZJWRmNTUIsKz+jft/l9al6ns/fNxTT7bqrVM91D 1Axg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714798044; x=1715402844; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=glBPEwOlZPw+Fdc94oAc34vs6JGxDcAxrAriYF6uyEA=; b=Ja4ahZLSpWS5jYlFyva0HgVOj7aArqiaqGz4iQf5ThzWO5ZAf2SyZg4U+ie6U0qp3l yINKoj0F5EoHr4Hv/TXDdWADZXqJY/QQa54VqFFPSW2t/VqDTkUKgOTtLz43INqpeJmk MPSToJTa5k2eZdrYy9JRMv8i1Oa0gA2bsHz39J7Z2wFennLdVjaGWXNhqFoTCGEAaYHq pfi1rbli/17AfiJq01B1xyNUtts24yvHcxRHf2Oe9wc5owAujl7L1azw5H48w95j5JT/ Wrbmyz6vjOGCRvm79Rtwc6gck+RVmI/fHRqOm6H23066Dd1mQb2I3+bIvoxNuTroUaHu yHrQ== X-Forwarded-Encrypted: i=1; AJvYcCU5l56Fzv97t6sFw/Asmdt1kDF0ikUT8+sk6y9x3P4CcE19u8DK3kjlxhmKVFySB316dx9b5/df4fgNVyEKQqxX4h4LK7k4iW0jpRLQeMhQEdhj X-Gm-Message-State: AOJu0YzrLaWLM4SNLugchmV7ANkJ6qdBMskpWt1YpePaWm3+qa8Yig7M DEqhp2Pnh03BH5j2KRphGMSIyfnrf15sj29SEVNoJL0CAqvLOEyNg2HD/ku4UiXfb8Dm54uVjwb nruceGv6dEdy3MdKnV8+C0k+ZtzI= X-Google-Smtp-Source: AGHT+IFzUfKthrCSE4pQEJriyvLBfWgKlNKuOhIEjTUbLQP7syZs0negX8y/08SAK4AJAQTqHpIB2nd0UpKpyeTDgWk= X-Received: by 2002:a9d:7d98:0:b0:6eb:79fe:893 with SMTP id j24-20020a9d7d98000000b006eb79fe0893mr5567723otn.2.1714798043768; Fri, 03 May 2024 21:47:23 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac9:5f0a:0:b0:52a:9016:8503 with HTTP; Fri, 3 May 2024 21:47:23 -0700 (PDT) In-Reply-To: <8a888f00-3752-463e-87c6-bb3979c7a4b8@aklaver.com> References: <7c3a1c91-566a-46f7-82b5-b47eac58c500@aklaver.com> <2746167.1714770911@sss.pgh.pa.us> <2808875.1714794677@sss.pgh.pa.us> <8a888f00-3752-463e-87c6-bb3979c7a4b8@aklaver.com> From: "David G. Johnston" Date: Fri, 3 May 2024 21:47:23 -0700 Message-ID: Subject: Re: \dt shows table but \d says the table doesn't exist ? To: Adrian Klaver Cc: Tom Lane , jian he , Magnus Hagander , David Gauthier , "pgsql-general@lists.postgresql.org" Content-Type: multipart/alternative; boundary="00000000000042b0740617998808" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000042b0740617998808 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Friday, May 3, 2024, Adrian Klaver wrote: > > Have you met people? > I really don=E2=80=99t care enough to try and actually make converts here. = It would have been a perfectly justifiable design choice to make our =E2=80=9C= pattern=E2=80=9D matching case-insensitive by default, probably with a case-sensitive mode and no need to hack up quoting rules that are unique to it. It=E2=80=99s a= find feature and search benefits from case-insensitivity. There isn=E2=80=99t a= nything so compelling about the current behavior that it seems like the superior choice. But maybe you are right and I just lack sufficient real-world experience to see things differently. I also get not wanting to change behavior at this point though I=E2=80=99d = welcome a modifier like =E2=80=9C*=E2=80=9D (like the ~* operator) to enable case-i= nsensitive matching. David J. --00000000000042b0740617998808 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Friday, May 3, 2024, Adrian Klaver <adrian.klaver@aklaver.com> wrote:

Have you met people?

I really don=E2=80=99t care enough to try = and actually make converts here.=C2=A0 It would have been a perfectly justi= fiable design choice to make our =E2=80=9Cpattern=E2=80=9D matching case-in= sensitive by default, probably with a case-sensitive mode and no need to ha= ck up quoting rules that are unique to it.=C2=A0 It=E2=80=99s a find featur= e and search benefits from case-insensitivity.=C2=A0 There isn=E2=80=99t an= ything so compelling about the current behavior that it seems like the supe= rior choice.=C2=A0 But maybe you are right and I just lack sufficient real-= world experience to see things differently.

I also= get not wanting to change behavior at this point though I=E2=80=99d welcom= e a modifier like =E2=80=9C*=E2=80=9D (like the ~* operator) to enable case= -insensitive matching.

David J.

--00000000000042b0740617998808--