Skip to content

PostgreSQL Database Support - #504

Open
jon5477 wants to merge 16 commits into
PlayPro:masterfrom
jon5477:postgresql
Open

PostgreSQL Database Support#504
jon5477 wants to merge 16 commits into
PlayPro:masterfrom
jon5477:postgresql

Conversation

@jon5477

Copy link
Copy Markdown

Fixes#64

  • Adds PostgreSQL support while retaining support for MySQL and SQLite
  • Some refactoring of PreparedStatements to utilize try-with-resources
  • Some refactoring of Statement to PreparedStatements to reduce the likelihood of SQL injection

@0xFEEDC0DE64

Copy link
Copy Markdown

would love to see this merged, is anything left to do? can I help?

Config option to supply extra parameters to the JDBC string for advanced cases.
Example: Useful for connecting to Postgres behind pgbouncer when set to ?prepareThreshold=0
Signed-off-by: PseudoResonance <kaio11604@gmail.com>
Disables index hinting for Postgres
Adds subquery aliases when creating unions
Signed-off-by: PseudoResonance <kaio11604@gmail.com>
Signed-off-by: PseudoResonance <kaio11604@gmail.com>
@PseudoResonance

Copy link
Copy Markdown

This is not ready to merge yet, but I've made a few fixes on my own fork. I wasn't able to find any more issues, but if anyone would like to try it out on a test server and see if there are any errors I would appreciate it. Definitely do NOT use this on a production server though.

https://github.com/PseudoResonance/CoreProtect/
CoreProtect-22.2.jar.zip

Fix Postgres lookups/JDBC parameter config option
@stale

staleBot commented Jun 29, 2024

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stalestaleBot added the stale label Jun 29, 2024
@IntelliIntelli removed the stale label Jun 29, 2024
@stale

staleBot commented Aug 29, 2024

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stalestaleBot added the stale label Aug 29, 2024
@PseudoResonance

Copy link
Copy Markdown

Why is there a stale bot for PRs?

@stalestaleBot removed the stale label Aug 29, 2024
@stale

staleBot commented Oct 28, 2024

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stalestaleBot added the stale label Oct 28, 2024
@PseudoResonance

Copy link
Copy Markdown

Still not stale

@stalestaleBot removed the stale label Oct 28, 2024
@0xFEEDC0DE64

Copy link
Copy Markdown

should I setup a bot that comments every day or week something random?

@stalestaleBot added the stale label Feb 15, 2025
@IntelliIntelli removed the stale label Feb 15, 2025
@0xFEEDC0DE64

Copy link
Copy Markdown

could we please merge this now?

@Skullians

Copy link
Copy Markdown

could we please merge this now?

If the PR is updated to the latest code then intelli could actually consider it

@stale

staleBot commented Apr 17, 2025

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stalestaleBot added the stale label Apr 17, 2025
@IntelliIntelli removed the stale label Apr 17, 2025
@stale

staleBot commented Jun 16, 2025

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stalestaleBot added the stale label Jun 16, 2025
@IntelliIntelli removed the stale label Jun 16, 2025
@0xFEEDC0DE64

Copy link
Copy Markdown

Please merge

1 similar comment
@D3it7i

Copy link
Copy Markdown

Please merge

@stale

staleBot commented Dec 9, 2025

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stalestaleBot added the stale label Dec 9, 2025
@IntelliIntelli removed the stale label Dec 9, 2025
@smutnejmichal

Copy link
Copy Markdown

please merge

@JosTheDude

Copy link
Copy Markdown

please merge

just use https://github.com/EarthMC/coreprotect-clickhouse

@stale

staleBot commented Mar 7, 2026

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stalestaleBot added the stale label Mar 7, 2026
@IntelliIntelli removed the stale label Mar 7, 2026
@stale

staleBot commented May 7, 2026

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stalestaleBot added the stale label May 7, 2026
@IntelliIntelli removed the stale label May 7, 2026
@stalestaleBot closed this May 16, 2026
@IntelliIntelli reopened this May 16, 2026
@stale

staleBot commented Jul 17, 2026

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stalestaleBot added the stale label Jul 17, 2026
@IntelliIntelli removed the stale label Jul 20, 2026
@stalestaleBot closed this Jul 30, 2026
@IntelliIntelli reopened this Jul 30, 2026
Sign up for freeto 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.

Add support for PostgreSQL

9 participants

@jon5477@0xFEEDC0DE64@PseudoResonance@x64neco@Skullians@D3it7i@smutnejmichal@JosTheDude@Intelli