Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract important queries to postgres functions #108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lorenzo
Copy link

@lorenzo lorenzo commented Jul 28, 2021

The motivating use case for extracting these functions is that it
gives more control to the developer using this package on how to
deploy this to their infrastructure.

For instance, some people may be interested in a different table
structure for payloads, like having it partitioned. With this
change, developers are free to change the implementation of the
postgres functions as they see fit as long as they implement an
equivalent logic and return the same types.

@lorenzo lorenzo force-pushed the extract-postgres-functions branch from 142bf6c to ebbb540 Compare July 28, 2021 09:14
The motivating use case for extracting these functions is that it
gives more control to the developer using this package on how to
deploy this to their infrastructure.

For instance, some people may be interested in a different table
structure for `payloads`, like having it partitioned. With this
change, developers are free to change the implementation of the
postgres functions as they see fit as long as they implement an
equivalent logic and return the same types.
@lorenzo lorenzo force-pushed the extract-postgres-functions branch from ebbb540 to c4ff38e Compare July 28, 2021 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant