Re: Tablespaces - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Tablespaces
Date
Msg-id 002801c3fcb3$6fc28370$0200000a@LaptopDellXP
Whole thread Raw
In response to Tablespaces  (Gavin Sherry <swm@linuxworld.com.au>)
List pgsql-hackers
>Gavin Sherry
> The creation of table spaces will need to be recorded in xlog in the
same
> way that files are in heap_create() with the corresponding delete
logic
> incase of ABORT.

Overall, sounds very cool.

Please could we record the OID of the tablespace in the WAL logs, not
the path to the tablespace? That way, we run no risks of having the WAL
logs not work correctly should things change slightly...

.. need to record drop tablespaces in the WAL logs also. 

I'm sure you meant both of those, just checking.

Can drop tablespace require a specific privelege too? It's too easy to
drop parts of a database without thinking...
Best Regards, Simon Riggs



pgsql-hackers by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: CVS HEAD compile warning
Next
From: Tom Lane
Date:
Subject: Re: Tablespaces