| От | Tom Lane |
|---|---|
| Тема | Re: Include tablespace information in psql \d footers |
| Дата | |
| Msg-id | 2780.1088201577@sss.pgh.pa.us обсуждение |
| Ответ на | Include tablespace information in psql \d footers (Gavin Sherry <swm@linuxworld.com.au>) |
| Ответы |
Re: Include tablespace information in psql \d footers
|
| Список | pgsql-patches |
Gavin Sherry <swm@linuxworld.com.au> writes:
> Attached.
Couple of problems with this:
1. Don't #ifndef WIN32 it. In the first place, we might have tablespace
support on Windows later, and in the second place, even if psql is
running on Windows that doesn't mean the server it's talking to is.
2. Printing "pg_default" when reltblspace is zero is wrong. Get the
database's default tablespace and print that. Or perhaps better,
don't print anything at all; that would avoid cluttering the display
for people who don't use tablespaces.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера