mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-05-17 20:29:29 +00:00
postgres_driver.nim: make sure the partition list ist loaded in correct order (#2548)
This commit is contained in:
parent
94ff5eab68
commit
b5e2edb724
@ -245,6 +245,7 @@ proc getPartitionsList(
|
|||||||
JOIN pg_namespace nmsp_parent ON nmsp_parent.oid = parent.relnamespace
|
JOIN pg_namespace nmsp_parent ON nmsp_parent.oid = parent.relnamespace
|
||||||
JOIN pg_namespace nmsp_child ON nmsp_child.oid = child.relnamespace
|
JOIN pg_namespace nmsp_child ON nmsp_child.oid = child.relnamespace
|
||||||
WHERE parent.relname='messages'
|
WHERE parent.relname='messages'
|
||||||
|
ORDER BY partition_name ASC
|
||||||
""",
|
""",
|
||||||
newSeq[string](0),
|
newSeq[string](0),
|
||||||
rowCallback,
|
rowCallback,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user