Re: Why not used standard SQL commands?

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Why not used standard SQL commands?
Дата
Msg-id d31d4cf8-59f7-4707-e833-ab063cb31b19@gmx.net
обсуждение исходный текст
Ответ на Why not used standart SQL commands?  (Ali Koca <kinetixcicocuk@gmail.com>)
Список pgsql-general
Ali Koca schrieb am 08.01.2022 um 19:25:
> I'm seeing \dt used for "show tables", \l used for "show databases". Why
> not standart SQL syntax words? Why specified PostgreSQL commands?
> I can't figure out that.

The only thing the SQL standard defines to gain access to information about
tables, schemas and catalogs (=databases) is the information_schema views.

There is no "show database" or "show tables" statement in the SQL standard.


Btw: \dt is a command specific to the psql client - it's not a general
"SQL command" in Postgres





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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: create database hangs forever on WSL - autovacuum deadlock?
Следующее
От: "Andreas 'ads' Scherbaum"
Дата:
Сообщение: Re: Why not used standart SQL commands?