Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VEKsp-0003jz-6k for pgsql-bugs@arkaria.postgresql.org; Tue, 27 Aug 2013 15:08:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VEKso-0000is-Fx for pgsql-bugs@arkaria.postgresql.org; Tue, 27 Aug 2013 15:08:38 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VEFc6-0006uW-3O for pgsql-bugs@postgresql.org; Tue, 27 Aug 2013 09:31:02 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VEFc3-000137-7T for pgsql-bugs@postgresql.org; Tue, 27 Aug 2013 09:31:01 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VEFc1-0006UY-Tr for pgsql-bugs@postgresql.org; Tue, 27 Aug 2013 09:30:58 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1VEFbw-0001Dr-KL for pgsql-bugs@postgresql.org; Tue, 27 Aug 2013 09:30:52 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: BUG #8402: Bad error message by psql To: pgsql-bugs@postgresql.org From: bughunt@gluino.name Message-Id: Date: Tue, 27 Aug 2013 09:30:52 +0000 X-Pg-Spam-Score: -1.7 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 8402 Logged by: David Tonhofer Email address: bughunt@gluino.name PostgreSQL version: 9.2.4 Operating system: Linux Description: Got a table named "Communes_du_Luxembourg_en_Polygones" => \d+ Communes_du_Luxembourg_en_Polygones Did not find any relation named "Communes_du_Luxembourg_en_Polygones" That message is wrong! The name of the table is not quoted, so psql is looking for "communes_du_Luxembourg_en_polygones" So it should say: Did not find any relation named "communes_du_luxembourg_en_polygones" (quoting may be needed to avoid casefolding) And indeed: \d+ "Communes_du_Luxembourg_en_Polygones" works like a charm. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs