From: | Thomas Kellerer <spam_eater(at)gmx(dot)net> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Postgres 10 partitioned tables |
Date: | 2017-07-10 06:52:19 |
Message-ID: | ojv86t$m44$1@blaine.gmane.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Thomas Kellerer schrieb am 13.05.2017 um 13:09:
> But I think the bigger is: what do do with the partitions
> themselves?
>
> Technically they are tables, but I think it would make sense to hide
> them and let frontend tools deal with displaying partitions belonging
> to a table (this is e.g. how Oracle does it).
>
> However, psql displays them as regular tables just like with the
> "old" inheritance partitions, so that would probably cause some
> confusion if getTables() did not return those tables.
Turns out that this is being discussed for psql as well:
Including a suggestion (patch) display partitions with a different type in the \d output.
If that patch gets accepted/committed, maybe the driver should be adjusted to also return "PARTITION" as the table type instead of TABLE.
That might however, break applications that know how to deal with TABLEs but have no notion that a PARTITION can be treated as that as well.
Thomas
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2017-07-10 11:40:46 | Re: Fix please typo on our main page "trucated" -> "truncated" :) |
Previous Message | Alexandru Lazarev | 2017-07-07 17:45:56 | Fix please typo on our main page "trucated" -> "truncated" :) |