문제

I guess I did a faulty database restoration or the dump did not have this data and the "folder like" structure was lost. This is a capture of Dbeaver showing what I mean with "foler like" structure. I can easily access the functions, tables, schemas, etc. stored in the database definition. I'm not so worried about the loss of the original structure as it did not have much, but I do want to recreate it step by step when I need it. For example, now I made a function and would like to see it under a "Functions" folder, how can I do that?

Also, what should I have included in the pg_dump generation script to also backup this structure?

Thanks.

enter image description here

도움이 되었습니까?

해결책

In the database navigator on the left, right-click on your database connection, and select "Advanced" rather than "Simple": DBeaver menu to see the "folder structure"

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 dba.stackexchange
scroll top