Skip to content

Extract important queries to postgres functions#108

Open
lorenzo wants to merge 1 commit into
jfischoff:masterfrom
kronor-io:extract-postgres-functions
Open

Extract important queries to postgres functions#108
lorenzo wants to merge 1 commit into
jfischoff:masterfrom
kronor-io:extract-postgres-functions

Conversation

@lorenzo
Copy link
Copy Markdown

@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