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 1mYMie-0003bA-OY for pgsql-general@arkaria.postgresql.org; Thu, 07 Oct 2021 06:17:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mYMid-0001vK-Jm for pgsql-general@arkaria.postgresql.org; Thu, 07 Oct 2021 06:17: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 1mYMid-0001uP-9T for pgsql-general@lists.postgresql.org; Thu, 07 Oct 2021 06:17:27 +0000 Received: from mout.gmx.net ([212.227.15.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mYMiW-0005ba-Q5 for pgsql-general@lists.postgresql.org; Thu, 07 Oct 2021 06:17:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1633587437; bh=xT2GlluXPUaRY8lCQwXh4T1B1UK/tqwlM6LNOCPksBU=; h=X-UI-Sender-Class:To:From:Subject:Date; b=Qd6RydgqLKg4N3C1YstHHVoRidJ7eZkLOe3DO82/etjmv7ZofIzeX93OCzLhxXzwC OH8HxgXr1gTXlUDtJKPWH0qBSlvxW11VJijUXnCgeBrR0b+KnlbncUozjvITKJkj9B tA6/5eO84GTdP6fCtyAWVNtzIOixjMPwMMmbqmNA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [10.1.33.80] ([185.40.248.10]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MvbFs-1moFdj1o06-00sbfY for ; Thu, 07 Oct 2021 08:17:17 +0200 To: "pgsql-general@lists.postgresql.org" From: Thomas Kellerer Subject: Misplaced double quotes in error message Message-ID: Date: Thu, 7 Oct 2021 08:17:16 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:HKXs9MPs4c4PwaajPO9LZrGccMwyzpnp1cBNaOIPBxT4WrCYIft u1cUO1Rpo0eocjmxcCxAa1unoHCeocZOlXOfSOSG+406FO1UgetAcengRTfZMAIBMAh+QGz ibmwyVCsiTnTAXvxymnxZx7E9irulRPLvIsjLrbX7pOx4QL1TWz0XisHmrQSHqk20029/6b mULIRvWH7fR9TvAu571Ww== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:U/5QoHhdspk=:fLnhID93Fr9AhjdUUBeN3s e5tyOft1WBWSwdW4+QPjlgylJH7QZo9t2sBxyEXJDJXnUcY1/AvDTA+lUjlj+Nj6inMVWT569 WMZFQIUZWCvWu/laT/gUUeVCAwYa7EV7nANdIiHTDXXeqnj7UOSN4RNgfkw36+HctNZ/XUkuz w1EBO6TDsEF7E4Gb2IJuMHarKPcla60ADnSqB2CF8eKvxHiRPVctJ6bk8yDcAvm2v7CG97z/L 3/CwBNgQWvXzpM6tddVEu5gR3OCKhrumCjyiJPF9XIbfwXtS/hfB+XqE3vr0It9sl4pA9kLlg CjffTTC5ql1xf7PHyoIT9ZMpbxANb+vbYcRwum8pl+OgiQZEl4N73EyBEig+DfKFV4wTjttcV Lr6M1Nmj0LoCMtzny7A4xr/tCi7UgrNZkNzzEJ2LvHvJFDPKC84np+UEt7rAWryV64E/8dFQr 8BQJ7mTLArIhKwtqqAlFxtOsktQCNN3f/GfUr/bUM/rm2ZSEVQr0zFHMcqZmSFbYbYPfwsvUw td6518YUQ5INajqXWJnDgRl+xsWlrkzedRlBE5nEhisVsuSXrseIoW5JCBmrdlwvwfRCXJV0e kSjUcGmN42Ma6Gl/NNZuTS1bq6+QHLUlNsKXoBE7CvluGJVQf1DFzHe4tXvQTLg0f80jrY8Ot mgITqKw4l6PxTVIa0KSlwQlF3D5HWA+NPg140Lb8HQznnrngAX0t8LRg7oeicj9Tn1w7Q3UQU q5/3vvXFJLl4a4IEkj4Un5U/5BrbUgXeOpsiwfGGIZ3PCN9ENTB8jbxHkx+bXKbkrPy46MU/m 62kEBzqB7x7QT6OnxxlHLkH4azokVrdeVYW6pAOSA9oRQ9QzLW/0wXLzWgN6JkhgKrJuEELIo 57EL8oteDachsRpjhrCKLUWu9uucm7bS02uMEFZ79FU1No23iTtQNqRxReoGS7rcfTIOr5mi5 p2TaASNkEjEEvfzQebdiZ2t4XDGxmb1FTBRB5abTA9Dbwkvrvi0mXnGrTmBrp9qoBMNkl3c1i KxcS7Nlc5xPzR5fxicKwzD3c5OmyY6EX75/0yb1Q7xdhi549nHtA/QSXNEjVAQfSIopEJdipa 49NW7hNWNaACN4= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello, consider the following table, query and error message: create table t ( "someColumn" int ); select t.someColumn from t; ERROR: column t.somecolumn does not exist Hint: Perhaps you meant to reference the column "t.someColumn". For someone proficient in SQL it's pretty clear what the error message mea= ns, but the quotes can be misleading for someone who doesn't really understand what's going on. I think if the error message quoted the column name the way it should actu= ally be used, it would make things easier for someone not used to this, e.g.: Hint: Perhaps you meant to reference the column t."someColumn". Because when the user takes the error message literally they might be temp= ted to use "t.someColumn" just to be confronted with the same error message ag= ain which then seems even more confusing.