mirror of
https://github.com/waku-org/nwaku.git
synced 2025-02-04 11:05:38 +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_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