Planet PostgreSQL

Planet PostgreSQL -

Hubert 'depesz' Lubaczewski: Now you can \d table not only in psql :)

Whenever people look for help with queries, one of the first things that I ask is: what is \d of the table. Which works great, with the caveat, that the person on the other end must be somewhat familiar with psql. And quite often it's not the case. So I figured, I can try to … Continue reading "Now you can \d table not only in psql :)"

通常当人们寻求帮助时,我会首先问:表的\d是什么?这很有用,但是对方必须有一定的psql熟悉程度。因此,我想尝试修复它。为此,我创建了psql-backslash,它是一组纯pl/PgSQL函数,旨在生成与各种\*命令生成的输出完全兼容的输出。目前,它只包含两个有用的函数:select psql.d();和select psql.d('table_name')。安装可以使用full.create.sql文件或scripts/build.full.sql.sh脚本。希望你能发现它有用。

psql

相关推荐 去reddit讨论

热榜 Top10

Dify.AI
Dify.AI
LigaAI
LigaAI
观测云
观测云
eolink
eolink

推荐或自荐