| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Philip Yarra <philip(at)utiba(dot)com> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Tablespaces oddity? |
| Date: | 2006-03-28 15:36:38 |
| Message-ID: | 2059.1143560198@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Philip Yarra <philip(at)utiba(dot)com> writes:
> Someone else might be able to see a better way to write this query, but I
> think it would be good if \d could show this information, when you really
> want to know which tablespace an object is on.
If \d doesn't say anything then the table is in the database's default
tablespace. I see nothing wrong with that, and I do object to
cluttering \d output with information that will be of no interest to
people not using tablespaces.
> Note also that \l won't show you the tablespace for a DB, so you need
> to query pg_database to even know which is the default tablespace for
> a DB.
I wouldn't object to adding default tablespace to \l output, or maybe \l+.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Hallgren | 2006-03-28 15:48:00 | Re: Shared memory |
| Previous Message | Tom Lane | 2006-03-28 15:24:55 | Re: Tru64/Alpha problems |