| От | Greg Smith |
|---|---|
| Тема | Re: location for pg_default tablespace |
| Дата | |
| Msg-id | 4B4C13F6.3000204@2ndquadrant.com обсуждение исходный текст |
| Ответ на | Re: location for pg_default tablespace (AI Rumman <rummandba@gmail.com>) |
| Ответы |
Re: location for pg_default tablespace
|
| Список | pgsql-general |
AI Rumman wrote: > I used the followings: > > create tablespace mytabspc location '/var/lib/pgsql/data/pg_tblspc'; > > create database mydb with tablespace=mytabspc; > > drop database mydb; > > drop tablespace mytabspc; > ERROR: tablspace 'mytabspc' is not empty > > Please tell me why? You don't put things in pg_tblspace yourself; that directory is for the database to manage. Your tablespace should be somewhere completely outside of /var/lib/pgsql/data altogether. -- Greg Smith 2ndQuadrant Baltimore, MD PostgreSQL Training, Services and Support greg@2ndQuadrant.com www.2ndQuadrant.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера