| От | Michael Fuhr |
|---|---|
| Тема | Re: Looking for a command to list schemas |
| Дата | |
| Msg-id | 20051026143255.GA24837@winnie.fuhr.org обсуждение исходный текст |
| Ответ на | Re: Looking for a command to list schemas (Andreas Kretschmer <akretschmer@spamfence.net>) |
| Список | pgsql-general |
On Wed, Oct 26, 2005 at 03:35:31PM +0200, Andreas Kretschmer wrote: > Cosmopo <tempo@marquo.com> schrieb: > > It seems that once we created the schema and created a table with this > > schema, if we forget about it, the is no way to list the schema or to > > have the tables/sequence with it's associated schema... > > > > Can someone tell us how we can get this important info? > > \dn in psql list all schemas. The poster mentioned 7.3.4 -- that version's psql didn't have \dn, so using it results in the following error: test=> \dn Did not find any relation named "n". You can get the list of schemas by querying the system catalogs: SELECT * FROM pg_namespace; -- Michael Fuhr
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера