pgsync
pgsync copied to clipboard
Retain Plugin Order As Defined in JSON
I noticed that if you have multiple plugins defined, PGSync will use alphabetical order of the file name(s) instead of the order defined in the schema.json.
Example:
"plugins": [
"ZSerializer", # z_serializer.py
"ASerializer" # a_serializer.py
]
What's Wrong?
First ASerializer is executed first, followed by ZSerializer. This is because a_serializer.py comes before z_serializer.py.
What Should Happen
The schema.json clearly defined the order to be ZSerializer first, then ASerializer. Therefore, it should respect that order.
This had been resolved in main