Re: Can anyone confirm the flaw of postgres and how to deal with it?

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Can anyone confirm the flaw of postgres and how to deal with it?
Дата
Msg-id f72c6631-057d-4669-37d8-576a031519f8@aklaver.com
обсуждение исходный текст
Ответ на Can anyone confirm the flaw of postgres and how to deal with it?  (Shaozhong SHI <shishaozhong@gmail.com>)
Список pgsql-general
On 4/20/22 08:47, Shaozhong SHI 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

Best guess is that since you are not filtering on table_schema you are 
seeing columns for tables with table_name=a_table across all schemas.

> 
> keeps listing columns that I can not see in the current table.
> 
> Why does this happen?
> 
> What is the solution?
> 
> Regards,
> 
> David


-- 
Adrian Klaver
adrian.klaver@aklaver.com



В списке pgsql-general по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Can anyone confirm the flaw of postgres and how to deal with it?
Следующее
От: "Thomas, Richard"
Дата:
Сообщение: RE: PostgreSQL 10.20 crashes / Antivirus