Package Details: postgresql-jdbc 42.2.18-1

Git Clone URL: (read-only, click to copy)
Package Base: postgresql-jdbc
Description: The official JDBC driver for PostgreSQL. Contains JDBC 4.0, 4.1 & 4.2 drivers.
Upstream URL:
Licenses: custom: BSD
Submitter: None
Maintainer: Huulivoide
Last Packager: Huulivoide
Votes: 50
Popularity: 0.045311
First Submitted: 2008-01-28 20:22
Last Updated: 2020-12-14 13:25

Required by (0)

Sources (4)

Latest Comments

1 2 3 Next › Last »

elbahek commented on 2020-12-11 05:54

PKGBUILD for 42.2.18

Huulivoide commented on 2019-10-02 10:52

Package should be fixed now.

jimduchek commented on 2019-09-30 15:15

At some point this package got pretty broken. postgresql...jdbc42.jar does not even get installed, and the other two jars are zero-length files.

egore911 commented on 2018-10-28 19:53

PKGBUILD for 42.2.5:

This fixes also the lacking installation of the JDBC 4.2 driver.

radio_rogal commented on 2017-10-05 05:44

Current version is 42.*.*

PostgreSQL has removed the build number for whole 42 series.

strang3r commented on 2016-12-03 18:47

PKGBUILD for 9.4.1212:

snoreven commented on 2016-09-07 16:51

Sorry, didn't see the PKGBUILD from the comments. Works with it. Please fix.

snoreven commented on 2016-09-07 15:14

I can't install, getting error when it's unpacking the .jar:

-> Pakker ut postgresql-jdbc-9.4.1208.jdbc4.jar med bsdtar
META-INF/: Can't replace existing directory with non-directory
bsdtar: Error exit delayed from previous errors.

SRChiP commented on 2016-07-04 17:21

You can use this PKGBUILD to successfully build it. The changes are renaming the file names in noextract, loser137's change.

#Maintainer: Jesse Jaara < jesse.jaara>

pkgdesc="The official JDBC driver for PostgreSQL. Contains JDBC 4.0 and 4.1 drivers."
license=("Custom: BSD")

noextract=(postgresql-jdbc-${pkgver}.jdbc4.jar postgresql-jdbc-${pkgver}.jdbc41.jar postgresql-jdbc-${pkgver}.jdbc42.jar)

package() {
install -d -m755 "${pkgdir}/usr/share/java/${pkgname}"
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"

install -m644 "${srcdir}/postgresql-jdbc-${pkgver}.jdbc4.jar" "${pkgdir}/usr/share/java/${pkgname}/"
install -m644 "${srcdir}/postgresql-jdbc-${pkgver}.jdbc41.jar" "${pkgdir}/usr/share/java/${pkgname}/"
install -m644 "${srcdir}/postgresql-jdbc-${pkgver}.jdbc42.jar" "${pkgdir}/usr/share/java/${pkgname}/"

ln -s postgresql-jdbc-${pkgver}.jdbc4.jar "${pkgdir}/usr/share/java/${pkgname}/postgresql-jdbc4.jar"
ln -s postgresql-jdbc-${pkgver}.jdbc41.jar "${pkgdir}/usr/share/java/${pkgname}/postgresql-jdbc41.jar"
ln -s postgresql-jdbc-${pkgver}.jdbc42.jar "${pkgdir}/usr/share/java/${pkgname}/postgresql-jdbc42.jar"

loser137 commented on 2016-03-22 08:05

postgresql-jdbc-9.4.1208.jdbc42.jar is downloaded but not installed. You can insert the following line in package() to fix this:
install -m644 "${srcdir}/postgresql-jdbc-${pkgver}.jdbc42.jar" "${pkgdir}/usr/share/java/${pkgname}/"