Skip to content

Prepared statement cache configuration #225

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

Merged
merged 3 commits into from
Jan 20, 2020

Conversation

Squiry
Copy link
Collaborator

@Squiry Squiry commented Jan 8, 2020

#223

Added preparedStatementCacheQueries parameter, which controls cache behaviour.
When cache limit is reached last used statement is closed before parsing new one.
When cache limit is 0 caching of statement is disabled and unnamed statements are used in extended message flow.
Negative values stand for IndefiniteStatementCache (default one).

Squiry added 3 commits January 8, 2020 19:29
Added preparedStatementCacheQueries parameter, which controls cache behaviour.
When cache limit is reached last used statement is closed before parsing new one.
When cache limit is 0 caching of statement is disabled and unnamed statements are used in extended message flow.
Negative values stand for IndefiniteStatementCache (default one).
@mp911de mp911de added this to the 0.8.1.RELEASE milestone Jan 20, 2020
@mp911de mp911de added the type: enhancement A general enhancement label Jan 20, 2020
mp911de added a commit that referenced this pull request Jan 20, 2020
Rename LimitedStatementCache to BoundedStatementCache. Synchronize cache access. Update documentation. Extract PgBouncerIntegrationTests into its own top-level class.

[#223][#225]
@mp911de mp911de merged commit cc48b6d into pgjdbc:master Jan 20, 2020
@mp911de
Copy link
Collaborator

mp911de commented Jan 20, 2020

Thank you for your awesome contribution. That's merged and polished now.

@Squiry do you want to join this project as a core contributor? That is merging PR's, triaging/closing issues and reviewing PR's of the core contributors?

@jroucou
Copy link

jroucou commented Mar 30, 2020

@Squiry @mp911de
cannot find this new configuration in recent release 0.8.1.RELEASE or 0.8.2.RELEASE but it's on master.
Is it normal ?

Best regards

@mp911de
Copy link
Collaborator

mp911de commented Mar 30, 2020

Yes, this is normal. This ticket is marked for the 0.9.x release and merged to master. The master branch contains the code that will be shipped with the 0.9.x version.

@jroucou
Copy link

jroucou commented Mar 30, 2020

ok thanks. Looking forward to it !

mp911de pushed a commit that referenced this pull request May 15, 2020
Added preparedStatementCacheQueries parameter, which controls cache behaviour.
When cache limit is reached last used statement is closed before parsing new one.
When cache limit is 0 caching of statement is disabled and unnamed statements are used in extended message flow.
Negative values stand for IndefiniteStatementCache (default one).

[#223][#225][#277]
mp911de pushed a commit that referenced this pull request May 15, 2020
mp911de added a commit that referenced this pull request May 15, 2020
Rename LimitedStatementCache to BoundedStatementCache. Synchronize cache access. Update documentation. Extract PgBouncerIntegrationTests into its own top-level class.

[#223][#225][closes #277]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants