Skip to content

Commit f7e48c0

Browse files
committed
Remove casting OID to BIGINT in partition children query
1 parent c835b27 commit f7e48c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sql/function_query/partition-child.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
SELECT c.oid::BIGINT,
1+
SELECT c.oid,
22
ns.nspname::TEXT AS s_name,
33
c.relname::TEXT AS t_name,
4-
i.inhparent::BIGINT AS parent_oid,
4+
i.inhparent AS parent_oid,
55
i.inhparent::regclass::TEXT AS parent_name,
66
c.relispartition::BOOLEAN AS declarative_partition,
77
pg_catalog.pg_get_expr(c.relpartbound, c.oid)::TEXT

0 commit comments

Comments
 (0)