Re: Weeding out unused user created database objects, could I use pg_catalog?
В списке pgsql-general по дате отправления:
| От | Richard Huxton |
|---|---|
| Тема | Re: Weeding out unused user created database objects, could I use pg_catalog? |
| Дата | |
| Msg-id | 4B754DDC.2060006@archonet.com обсуждение исходный текст |
| Ответ на | Weeding out unused user created database objects, could I use pg_catalog? (Allan Kamau <kamauallan@gmail.com>) |
| Ответы |
Re: Weeding out unused user created database objects, could
I use pg_catalog?
|
| Список | pgsql-general |
On 12/02/10 12:32, Allan Kamau wrote: > If I start with a clean deployment, is there a way I could perhaps > query the table(s) in pg_catalog for example to find out the database > objects (I have constructed) that have been invoked or used in some > way during a complete run of my application. I had a quick look at the > pg_catalog but was unable to determine the tables that may contain > pieces of this information. If pg_catalog could provide me with this > solution, what are the table(s) to query? Quickest solution might be to use the --list option of pg_restore (you'll need -Fc on pg_dump too). That will list everything in the database dump and you can just compare the lists. -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера