Re: Can anyone confirm the flaw of postgres and how to deal with it? - Mailing list pgsql-general

From David G. Johnston
Subject Re: Can anyone confirm the flaw of postgres and how to deal with it?
Date
Msg-id CAKFQuwbbY2tQYFuq57bDOXfeWbtax6y5nkipPDe7w8P9CedtvQ@mail.gmail.com
Whole thread Raw
In response to Can anyone confirm the flaw of postgres and how to deal with it?  (Shaozhong SHI <shishaozhong@gmail.com>)
List pgsql-general
On Wed, Apr 20, 2022 at 8:48 AM Shaozhong SHI <shishaozhong@gmail.com> wrote:
I loaded several tables onto Postgres.

When you view, you can see all columns.

However, there are 'ghost columns' that I remember I used before, but not now.

 select column_name::text from information_schema.columns where table_name=a_table

keeps listing columns that I can not see in the current table.

Why does this happen?

What is the solution?


I'm going to assume some kind of operator error until you can prove the observation with actual queries and output.  Hopefully putting that information together will cause you to realize where you are wrong.  If not we at least get something that is debuggable.

David J.

pgsql-general by date:

Previous
From: Shaozhong SHI
Date:
Subject: Can anyone confirm the flaw of postgres and how to deal with it?
Next
From: Adrian Klaver
Date:
Subject: Re: Can anyone confirm the flaw of postgres and how to deal with it?