Skip to content

support \d <table_name> #5383

@yezizp2012

Description

@yezizp2012

BTW, \d <table_name> is not supported.

NTFS, we still need to support OPERATOR like postgreSQL for that. The actual query is as follows:

SELECT c.oid,
  n.nspname,
  c.relname
FROM pg_catalog.pg_class c
     LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
WHERE c.relname OPERATOR(pg_catalog.~) '^(t)$'
  AND pg_catalog.pg_table_is_visible(c.oid)
ORDER BY 2, 3;

Originally posted by @yezizp2012 in #5127 (comment)

Metadata

Metadata

Assignees

Labels

A-frontendArea: Protocol, parsing, binder.open to contributionIssues that are open to contribution.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions