pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: arun chirappurath <arunsnmimt@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Unable to find column
Date: Mon, 15 Jan 2024 08:33:44 -0800
Message-ID: <d036d1c6-ea76-4835-b320-e535f0702d20@aklaver.com> (raw)
In-Reply-To: <CAA23Sdu6Bwqy0+oJqUnXk8940STNtqGO_hDUDHi-8+84kg3hFw@mail.gmail.com>
References: <CAA23Sdu6Bwqy0+oJqUnXk8940STNtqGO_hDUDHi-8+84kg3hFw@mail.gmail.com>

On 1/15/24 08:16, arun chirappurath wrote:
> Dear all,
> 
> I have a table automobile which has a column id.
> 
> Table consists of id,make,year of manufacturing
> 
> I use dbeaver for querying..
> 
> Select * from automobile provides me results
> 
> However select id from automobile yields column doesn't exists.
> 
> I tried double quotes on id As well but same error.
> 
> But if I drag and drop id or use the id which is auto prompted from 
> dbeaver,it works 💪.
> 
> select "id" from automobile using drag and drop of id in dbeaver works.
> 
> But if I manually type "id" it won't.
> 
> Any clue on this.

Do you have psql(https://www.postgresql.org/docs/current/app-psql.html( 
available?

If so in psql what does:

\d automobile

return?


> 
> Visually both statements are alike
> 
> 
> Table is in public schema.
> 
> Thanks,
> Arun
> 
> 
> 
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (5+ messages)  latest in thread

Message-ID: <d036d1c6-ea76-4835-b320-e535f0702d20@aklaver.com>
Permalink:  ../d036d1c6-ea76-4835-b320-e535f0702d20@aklaver.com/
Also on:    postgresql.org/message-id/d036d1c6-ea76-4835-b320-e535f0702d20@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, arunsnmimt@gmail.com
  Subject: Re: Unable to find column
  In-Reply-To: <d036d1c6-ea76-4835-b320-e535f0702d20@aklaver.com>
  References: <CAA23Sdu6Bwqy0+oJqUnXk8940STNtqGO_hDUDHi-8+84kg3hFw@mail.gmail.com> <d036d1c6-ea76-4835-b320-e535f0702d20@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox