Re: cannot drop a tablespace which never exists in pg_tablespace

2024-12-20 Thread Bharani SV-forum
I found the culprit env variable was defined as PG_DATA inlieu of PGDATA cleared and dropped itand restarted dband created once again tablespace in the desired location and it worked Thank YouRegards On Friday, December 20, 2024 at 11:50:20 AM EST, Adrian Klaver wrote: On 12/20/24 08:0

Re: cannot drop a tablespace which never exists in pg_tablespace

2024-12-20 Thread Adrian Klaver
On 12/20/24 08:09, Bharani SV-forum wrote: Adrian Inline image initially i had created tblspace outside pg_data env variable Did you run CREATE TABLESPACE as shown below?: https://www.postgresql.org/docs/current/sql-createtablespace.html Did you ever use the tablespace? e.g PG_DATA env var

Re: cannot drop a tablespace which never exists in pg_tablespace

2024-12-20 Thread Bharani SV-forum
Adrian initially i had created tblspace outside pg_data env variablee.g PG_DATA env variable is defined to /XXX//ABC/15/data the tablespace was created under    /XXX//ABC/15/tblspace/<>/assume tablespace name is abc_data cd /XXX//ABC/15/tblspace/abc_data/ls -atldrwxr-x---. 2 postgres

Re: cannot drop a tablespace which never exists in pg_tablespace

2024-12-19 Thread Adrian Klaver
On 12/19/24 15:36, Bharani SV-forum wrote: cannot drop a tablespace which never exists in pg_tablespace I remember i had create previously an tablespace named " mq_data" , but cannot find in pg_tablespace listing. if i try to create the same tablespace name, it is giving error as " already