[SPIGOT-3672] Add postgresql support Created: 30/Nov/17  Updated: 30/Nov/17  Resolved: 30/Nov/17

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: out this Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Environment:

latest spigot, os x, oracle java 1.8

 



 Description   

Postgres Driver is not found

<dependency>

            <groupId>org.postgresql</groupId>

            <artifactId>postgresql</artifactId>

            <version>42.1.4</version>

            <scope>compile</scope>

        </dependency>

 

Needs to be added to spigot server's pom.xml

Took a while to figure out the process here, but I have confirmed it fixes postgres support in my plugin.

Thanks in advance =) it can wait until I can submit a PR if you like.



 Comments   
Comment by Black Hole [ 30/Nov/17 ]

As I said please use the forums for help setting up a classpath or other options.

(With your "viewpoint" you won't find many projects to contribute to.)

Comment by out this [ 30/Nov/17 ]

You've also lost a new contributor because of this viewpoint, GG. Absolutely absurd.

Comment by out this [ 30/Nov/17 ]

It's impossible to fix using class path I tried for hours, postgresql is way more performant than MySQL which should shift a server application away from MySQL, if you are truly interested in being a high performance server. Regardless, I'll just patch my server manually. It is absurd that postgres wouldn't be considered.

Comment by Black Hole [ 30/Nov/17 ]

Spigot includes drivers for MySQL and SQLite since it was included in Bukkit for a long time. But as pointed out here, it's not useful to include and maintain another dependency:
https://hub.spigotmc.org/jira/browse/SPIGOT-3419

So you should use the classpath or a plugin for the Postgresql driver. For help doing so please use the Spigot forums.

Generated at Wed Dec 17 15:21:07 UTC 2025 using Jira 10.3.15#10030015-sha1:909cc43d292ca09e774c1a243d9819be3f2628cd.