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