Tablespaces for indexes, tables and databases

Поиск
Список
Период
Сортировка
От Erwin Brandstetter
Тема Tablespaces for indexes, tables and databases
Дата
Msg-id 46DEADAD.2090709@falter.at
обсуждение исходный текст
Ответы Re: Tablespaces for indexes, tables and databases  (Dave Page <dpage@postgresql.org>)
Re: Tablespaces for indexes, tables and databases  (Erwin Brandstetter <a9006241@unet.univie.ac.at>)
Список pgadmin-hackers
Hi developers! Hi Dave!


Testing the pgAdmin III 1.8.0  Beta 4 (Sep 4 2007, rev: 6608:6609).
Client Win XP, host: Debian Etch / PG 8.2.4 and Debian Sarge / PG 8.1.8

Moving indexes to different tablespaces via properties dialog seems to
work fine now. Good job!

The reverse engineered SQL for tables, indexes and databases includes an
extra line 'TABLESPACE pg_default' now, which seems redundant while it
matches the default (tablespace of the database / default_tablespace /
pg_default -- whichever comes first). We could get rid of the line for
these cases, i.e. in most cases.

There used to be an "empty" option in the combo box "Tablespace" (it
just did not work yet), which could do just that, explicitely.


== quote==
-- Index: test_myidx

-- DROP INDEX test_myidx;

CREATE INDEX test_myidx
  ON test
  USING btree
  (my_field)
  TABLESPACE pg_default;
== unquote==


Regards
Erwin

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Jyrki Wahlstedt
Дата:
Сообщение: Re: two minor things
Следующее
От: Erwin Brandstetter
Дата:
Сообщение: Crash when trying to view SQL for new unique constraint