| От | Adriaan Joubert |
|---|---|
| Тема | Re: [GENERAL] Where is my database gone ? |
| Дата | |
| Msg-id | 3879BF9A.BFB91A83@albourne.com обсуждение исходный текст |
| Ответ на | Where is my database gone ? (Guillaume Rousse <Guillaume.Rousse@univ-reunion.fr>) |
| Список | pgsql-general |
Guillaume Rousse wrote: > My database coraux isn't listed anymore when i use psql -l, altough i can still > connect to it using psql coraux, but there isn't any tables listed by \dt. > Files are still present in $PGDATA, with their content. > What's the problem, and how can i recover it ? Most likely cause is that either the user that created the database does not exist anymore or your permissions got messed up somehow. I've seen similar behaviour when the user does not exist. You can see who owns the tables by doing select relname,relowner from pg_class; Then do select * from pg_user to figure out which user the relowner corresponds to. If the user is missing, create a enw one with the required uid. Adriaan
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера