Perfect answer! Thanks.
But now I have an issue: this table, for sure, has no inheritance - just because we use no inheritance in this project at all.
What would be causing this?
Run the below query on the database server and check the value of is_inherited if it is 1 then the table is the parent table.
Replace the {{ scid }} with schema oid and {{ tid }} with table oid
SELECT rel.oid, rel.relname AS name,
(SELECT count(*) FROM pg_trigger WHERE tgrelid=rel.oid AND tgisinternal = FALSE) AS triggercount,
(SELECT count(*) FROM pg_trigger WHERE tgrelid=rel.oid AND tgisinternal = FALSE AND tgenabled = 'O') AS has_enable_triggers,
(CASE WHEN rel.relkind = 'p' THEN true ELSE false END) AS is_partitioned,
(SELECT count(1) FROM pg_inherits WHERE inhrelid=rel.oid LIMIT 1) as is_inherits,
(SELECT count(1) FROM pg_inherits WHERE inhparent=rel.oid LIMIT 1) as is_inherited
FROM pg_class rel
WHERE rel.relkind IN ('r','s','t','p') AND rel.relnamespace = {{ scid }}::oid
AND NOT rel.relispartition
AND rel.oid = {{ tid }}::OID
ORDER BY rel.relname;
Atenciosamente,
Edson Richter
Soli Deo Gloria
------ Mensagem original------
De: Murtuza Zabuawala
Data: seg, 4 de mai de 2020 20:54
Para: Edson Richter;
Assunto:Re: What does this icon means?
Hi,
The icon indicates that the table is inherited.
Regards,
Murtuza
Kkkkk 🙂
Would the development team create a documentation page describing each icon used in the object tree?
Thanks,
Edson
My interpretation is it is telling you which way to look.
Sorry :)
A small arrow at table icon means what?
Thanks,
Edson