Skip to content

Conversation

@peterbroadhurst
Copy link
Contributor

See #422

awrichar and others added 2 commits January 20, 2022 22:19
Postgres has much stricter constraints on DISTINCT/GROUP BY queries - specifically,
the fields used in ORDER BY must also be part of SELECT, and therefore may need
an aggregate function applied in order to give deterministic results.

Implement ordering by "seq" or "updated", which seem like the most useful.

Resolves hyperledger#416

Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Signed-off-by: Peter Broadhurst <peter.broadhurst@kaleido.io>
@awrichar awrichar merged commit 8f4a7e4 into hyperledger:v0.11.x Jan 21, 2022
@awrichar awrichar deleted the backport-422 branch January 21, 2022 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants