[GH-ISSUE #6] Child tables are not dispayed #5

Closed
opened 2026-05-05 03:29:01 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @glushakov on GitHub (May 6, 2020).
Original GitHub issue: https://github.com/levinsv/pgadmin3/issues/6

Hi. With inherit partititioning, child tables are not display in tree. In parent table (partitions sub menu) there are also not.
Checked on pg 10

Originally created by @glushakov on GitHub (May 6, 2020). Original GitHub issue: https://github.com/levinsv/pgadmin3/issues/6 Hi. With inherit partititioning, child tables are not display in tree. In parent table (partitions sub menu) there are also not. Checked on pg 10
Author
Owner

@levinsv commented on GitHub (May 7, 2020):

Hi.
In my test case, everything is Ok.

CREATE TABLE cities (
    name            text,
    population      float,
    altitude        int     -- в футах
);

CREATE TABLE capitals (
    state           char(2)
) INHERITS (cities);

What are your SQL commands?

<!-- gh-comment-id:625314533 --> @levinsv commented on GitHub (May 7, 2020): Hi. In my test case, everything is Ok. ``` CREATE TABLE cities ( name text, population float, altitude int -- в футах ); CREATE TABLE capitals ( state char(2) ) INHERITS (cities); ``` What are your SQL commands?
Author
Owner

@glushakov commented on GitHub (May 8, 2020):

it looks like problem appear when child table placed in different schema then parent table.
My case:

CREATE TABLE public.history
(
itemid bigint NOT NULL,
clock integer NOT NULL DEFAULT 0,
value numeric(16,4) NOT NULL DEFAULT 0.0000,
ns integer NOT NULL DEFAULT 0
);

CREATE TABLE partitions.history_p2020_04_09
(

CONSTRAINT history_p2020_04_09_clock_check CHECK (clock >= 1586379600 AND clock < 1586466000)
)
INHERITS (public.history)
WITH (
OIDS=FALSE
);

<!-- gh-comment-id:625685395 --> @glushakov commented on GitHub (May 8, 2020): it looks like problem appear when child table placed in different schema then parent table. My case: CREATE TABLE public.history ( itemid bigint NOT NULL, clock integer NOT NULL DEFAULT 0, value numeric(16,4) NOT NULL DEFAULT 0.0000, ns integer NOT NULL DEFAULT 0 ); CREATE TABLE partitions.history_p2020_04_09 ( CONSTRAINT history_p2020_04_09_clock_check CHECK (clock >= 1586379600 AND clock < 1586466000) ) INHERITS (public.history) WITH ( OIDS=FALSE );
Author
Owner

@glushakov commented on GitHub (May 8, 2020):

with declarative partitioning the situation is similar

<!-- gh-comment-id:625879914 --> @glushakov commented on GitHub (May 8, 2020): with declarative partitioning the situation is similar
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/pgadmin3#5
No description provided.