Re: it's a feature, but it feels like a bug
От
Rafal Pietrak
Тема
Re: it's a feature, but it feels like a bug
Дата
Msg-id
e3a03ba9-7b89-ef3f-7d15-3c271b5dfa70@sm.strop.com.pl
Ответ на
Re: it's a feature, but it feels like a bug (David Fetter)
Список
Дерево обсуждения
it's a feature, but it feels like a bug Rafal Pietrak <r.pietrak@sm.strop.com.pl>
Re: it's a feature, but it feels like a bug Tom Lane <tgl@sss.pgh.pa.us>
Re: it's a feature, but it feels like a bug David Fetter <david@fetter.org>
Re: it's a feature, but it feels like a bug Rafal Pietrak <r.pietrak@sm.strop.com.pl>
Re: it's a feature, but it feels like a bug Rafal Pietrak <r.pietrak@sm.strop.com.pl>
Re: it's a feature, but it feels like a bug "David G. Johnston" <david.g.johnston@gmail.com>
W dniu 08.02.2018 o 05:51, David Fetter pisze:
> On Wed, Feb 07, 2018 at 10:26:50PM -0500, Tom Lane wrote:
>> Rafal Pietrak writes:
[-------------]
>
> CREATE TABLE foo(b BOOLEAN, i INTEGER NOT NULL, t TEXT NOT NULL) PARTITION BY LIST (b);
> CREATE TABLE foo_true PARTITION OF foo (PRIMARY KEY(i, t)) FOR VALUES IN ('true');
> CREATE TABLE bar(foo_i INTEGER NOT NULL, foo_t TEXT NOT NULL, FOREIGN KEY(foo_i, foo_t) REFERENCES foo_true);
This is exactly my current setup.
It creates other problems with manageing my dataset, so I'm looking for
other ways to lay down the schema.
thenx,
-R
В списке pgsql-hackers по дате отправления