Re: BUG #14500: error message displays "schema dot relation" in double quotes all together

From: Kevin Grittner <kgrittn(at)gmail(dot)com>
To: vodevsh(at)gmail(dot)com
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14500: error message displays "schema dot relation" in double quotes all together
Date: 2017-01-17 15:24:32
Message-ID: CACjxUsNXM+BNH8_aHTChU0zwP6WZ6zuFTiSpzJWyKKdm8sAQJg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Jan 17, 2017 at 5:09 AM, <vodevsh(at)gmail(dot)com> wrote:

> I'm not sure if it's a bug or feature, but I find error message misleading.
> ERROR: relation [“schema_name.table_name”] does not exist gives an
> impression that schema name is part of relation name. Should not it be
> ERROR: relation [“schema name”].["table_name"] does not exist instead? I
> doubt it's a bug, because this message seems version not specific. But does
> not it look wrong?

I doubt that it can really be considered a bug, since it is
functioning as designed.

On the other hand, it's annoying for copy/paste, especially with camel
case names.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Vladimir Svedov 2017-01-17 15:24:47 Re: BUG #14500: error message displays "schema dot relation" in double quotes all together
Previous Message David G. Johnston 2017-01-17 15:19:39 Re: BUG #14500: error message displays "schema dot relation" in double quotes all together