0

recently I experience on postgresql and found that \dt are not show all tables if those tables with the same name but under different schema.

example

test2.my_table1
test1.my_table1

if setting search_path, \dt will only showing the tables which inside the 1st priority schema.

this will be an very pain full to multi-tenant database management.

1

1 Answer 1

0

simple use command

\dt *.<tale_prefix>*

example:

\dt *.my_*
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.