May 17, 2026, 11:40 PM

This commit is contained in:
Paweł Domański
2026-05-18 06:40:19 +00:00
commit 64944cf004
896 changed files with 310709 additions and 0 deletions
@@ -0,0 +1,74 @@
VIEW DEFAULT TEMP TABLESPACE:
dbaclass=# SELECT name, setting FROM pg_settings where name='temp_tablespaces';
name | setting
------------------+---------
temp_tablespaces |
(1 row)
dbaclass=# show temp_tablespaces
dbaclass-# ;
temp_tablespaces
------------------
(1 row)
CHANGE DEFAULT TEMP TABLESPACE
postgres=# alter system set temp_tablespaces=TS_TEMP;
ALTER SYSTEM
postgres=# select pg_reload_conf();
pg_reload_conf
----------------
t
(1 row)
postgres=# show temp_tablespaces;
temp_tablespaces
------------------
ts_temp
(1 row)
postgres=# SELECT name, setting FROM pg_settings where name='temp_tablespaces';
name | setting
------------------+---------
temp_tablespaces | ts_temp
(1 row)
VIEW DEFAULT TEMP TABLESPACE:
dbaclass=# SELECT name, setting FROM pg_settings where name='temp_tablespaces';
name | setting
------------------+---------
temp_tablespaces |
(1 row)
dbaclass=# show temp_tablespaces
dbaclass-# ;
temp_tablespaces
------------------
(1 row)
CHANGE DEFAULT TEMP TABLESPACE
postgres=# alter system set temp_tablespaces=TS_TEMP;
ALTER SYSTEM
postgres=# select pg_reload_conf();
pg_reload_conf
----------------
t
(1 row)
postgres=# show temp_tablespaces;
temp_tablespaces
------------------
ts_temp
(1 row)
postgres=# SELECT name, setting FROM pg_settings where name='temp_tablespaces';
name | setting
------------------+---------
temp_tablespaces | ts_temp
(1 row)