[Feature Request] PostgreSQL support? #14
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Limework/skript-db#14
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have a bunch of existing infrastructure on postgres and would love postgres support in this.
I do not have much experience with PostgreSQL - as it is SQL-based and I think HikariCP supports PostgreSQL, I think it should work? do you get any errors?
i think postgresql is same as mysql but with differnet server stuff and i think hikaricp supports it
When I use a Postgres connection string, the request never returns and all subsequent commands in the skript never execute. No error is shown in the console.
you may be able to get it to work by using postgresql java driver in config of skript-db
you'll probably need to load the jar somehow, you can do it by using skript-reflect addon and putting the driver jar in skript-reflect's folder then restarting server
I am interested in adding PostgreSQL support if someone is willing to help me testing with it.
I've been using the addon for quite some time along with postgreSQL.
To do this, I just added the driver directly to
skript-db.jar
.config.yaml:
sql-driver-class-name: "org.postgresql.Driver"
script example:
It works without any problem. For months of use, bugs have not been noticed.
@kossnikita
Thank you for testing, I will probably add PostgreSQL support built-in in the next update
Any update?
Just got an error
This occurs if there are no permissions to the plugin configuration file. In this case, there is no error about reading the file. Maybe you should add a permissions check to the configuration file?
Does it have only permission to read file, but not edit?
Or do you mean I should add a check whether the file is readable?
I have checked code around the place and I now understand the issue, I will try to patch it within next 3 days together with built-in PostgreSQL support
EDIT: sorry for the delay, life got in the way, I will try to look into it soon. (2022-12-08)
Fixed in 1.3.9, to be released soon