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 <david@fetter.org>)
Список pgsql-hackers

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 <r.pietrak@sm.strop.com.pl> 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Proposal: partition pruning by secondary attributes
Следующее
От: Robert Haas
Дата:
Сообщение: Re: update tuple routing and triggers