You can download postgresql-42.0.0.jar in this page.
BSD-2-Clause
postgresql-42.0.0.jar file has the following types.
META-INF/LICENSE META-INF/MANIFEST.MF META-INF/maven/org.postgresql/postgresql/pom.properties META-INF/maven/org.postgresql/postgresql/pom.xml META-INF/services/java.sql.Driver org.postgresql.Driver.class org.postgresql.PGConnection.class org.postgresql.PGNotification.class org.postgresql.PGProperty.class org.postgresql.PGRefCursorResultSet.class org.postgresql.PGResultSetMetaData.class org.postgresql.PGStatement.class org.postgresql.copy.CopyDual.class org.postgresql.copy.CopyIn.class org.postgresql.copy.CopyManager.class org.postgresql.copy.CopyOperation.class org.postgresql.copy.CopyOut.class org.postgresql.copy.PGCopyInputStream.class org.postgresql.copy.PGCopyOutputStream.class org.postgresql.core.BaseConnection.class org.postgresql.core.BaseQueryKey.class org.postgresql.core.BaseStatement.class org.postgresql.core.CachedQuery.class org.postgresql.core.CachedQueryCreateAction.class org.postgresql.core.CallableQueryKey.class org.postgresql.core.ConnectionFactory.class org.postgresql.core.Encoding.class org.postgresql.core.EncodingPredictor.class org.postgresql.core.Field.class org.postgresql.core.JdbcCallParseInfo.class org.postgresql.core.NativeQuery.class org.postgresql.core.Notification.class org.postgresql.core.Oid.class org.postgresql.core.PGBindException.class org.postgresql.core.PGStream.class org.postgresql.core.ParameterList.class org.postgresql.core.Parser.class org.postgresql.core.Provider.class org.postgresql.core.Query.class org.postgresql.core.QueryExecutor.class org.postgresql.core.QueryExecutorBase.class org.postgresql.core.QueryWithReturningColumnsKey.class org.postgresql.core.ReplicationProtocol.class org.postgresql.core.ResultCursor.class org.postgresql.core.ResultHandler.class org.postgresql.core.ResultHandlerBase.class org.postgresql.core.ResultHandlerDelegate.class org.postgresql.core.ServerVersion.class org.postgresql.core.SetupQueryRunner.class org.postgresql.core.SocketFactoryFactory.class org.postgresql.core.SqlCommand.class org.postgresql.core.SqlCommandType.class org.postgresql.core.TransactionState.class org.postgresql.core.TypeInfo.class org.postgresql.core.UTF8Encoding.class org.postgresql.core.Utils.class org.postgresql.core.Version.class org.postgresql.core.VisibleBufferedInputStream.class org.postgresql.core.v3.BatchedQuery.class org.postgresql.core.v3.CompositeParameterList.class org.postgresql.core.v3.CompositeQuery.class org.postgresql.core.v3.ConnectionFactoryImpl.class org.postgresql.core.v3.CopyDualImpl.class org.postgresql.core.v3.CopyInImpl.class org.postgresql.core.v3.CopyOperationImpl.class org.postgresql.core.v3.CopyOutImpl.class org.postgresql.core.v3.DescribeRequest.class org.postgresql.core.v3.ExecuteRequest.class org.postgresql.core.v3.Portal.class org.postgresql.core.v3.QueryExecutorImpl.class org.postgresql.core.v3.SimpleParameterList.class org.postgresql.core.v3.SimpleQuery.class org.postgresql.core.v3.TypeTransferModeRegistry.class org.postgresql.core.v3.V3ParameterList.class org.postgresql.core.v3.replication.V3PGReplicationStream.class org.postgresql.core.v3.replication.V3ReplicationProtocol.class org.postgresql.ds.PGConnectionPoolDataSource.class org.postgresql.ds.PGPooledConnection.class org.postgresql.ds.PGPoolingDataSource.class org.postgresql.ds.PGSimpleDataSource.class org.postgresql.ds.common.BaseDataSource.class org.postgresql.ds.common.PGObjectFactory.class org.postgresql.fastpath.Fastpath.class org.postgresql.fastpath.FastpathArg.class org.postgresql.geometric.PGbox.class org.postgresql.geometric.PGcircle.class org.postgresql.geometric.PGline.class org.postgresql.geometric.PGlseg.class org.postgresql.geometric.PGpath.class org.postgresql.geometric.PGpoint.class org.postgresql.geometric.PGpolygon.class org.postgresql.gss.GSSCallbackHandler.class org.postgresql.gss.GssAction.class org.postgresql.gss.MakeGSS.class org.postgresql.hostchooser.GlobalHostStatusTracker.class org.postgresql.hostchooser.HostChooser.class org.postgresql.hostchooser.HostChooserFactory.class org.postgresql.hostchooser.HostRequirement.class org.postgresql.hostchooser.HostStatus.class org.postgresql.hostchooser.MultiHostChooser.class org.postgresql.hostchooser.SingleHostChooser.class org.postgresql.jdbc.AbstractBlobClob.class org.postgresql.jdbc.AutoSave.class org.postgresql.jdbc.BatchResultHandler.class org.postgresql.jdbc.BooleanTypeUtil.class org.postgresql.jdbc.CallableBatchResultHandler.class org.postgresql.jdbc.EscapedFunctions.class org.postgresql.jdbc.FieldMetadata.class org.postgresql.jdbc.PSQLSavepoint.class org.postgresql.jdbc.PgArray.class org.postgresql.jdbc.PgBlob.class org.postgresql.jdbc.PgCallableStatement.class org.postgresql.jdbc.PgClob.class org.postgresql.jdbc.PgConnection.class org.postgresql.jdbc.PgDatabaseMetaData.class org.postgresql.jdbc.PgParameterMetaData.class org.postgresql.jdbc.PgPreparedStatement.class org.postgresql.jdbc.PgResultSet.class org.postgresql.jdbc.PgResultSetMetaData.class org.postgresql.jdbc.PgSQLXML.class org.postgresql.jdbc.PgStatement.class org.postgresql.jdbc.PreferQueryMode.class org.postgresql.jdbc.ResultWrapper.class org.postgresql.jdbc.StatementCancelState.class org.postgresql.jdbc.TimestampUtils.class org.postgresql.jdbc.TypeInfoCache.class org.postgresql.jdbc.UUIDArrayAssistant.class org.postgresql.jdbc2.ArrayAssistant.class org.postgresql.jdbc2.ArrayAssistantRegistry.class org.postgresql.jdbc2.optional.ConnectionPool.class org.postgresql.jdbc2.optional.PoolingDataSource.class org.postgresql.jdbc2.optional.SimpleDataSource.class org.postgresql.jdbc3.Jdbc3ConnectionPool.class org.postgresql.jdbc3.Jdbc3PoolingDataSource.class org.postgresql.jdbc3.Jdbc3SimpleDataSource.class org.postgresql.largeobject.BlobInputStream.class org.postgresql.largeobject.BlobOutputStream.class org.postgresql.largeobject.LargeObject.class org.postgresql.largeobject.LargeObjectManager.class org.postgresql.osgi.PGBundleActivator.class org.postgresql.osgi.PGDataSourceFactory.class org.postgresql.replication.LogSequenceNumber.class org.postgresql.replication.PGReplicationConnection.class org.postgresql.replication.PGReplicationConnectionImpl.class org.postgresql.replication.PGReplicationStream.class org.postgresql.replication.fluent.AbstractCreateSlotBuilder.class org.postgresql.replication.fluent.AbstractStreamBuilder.class org.postgresql.replication.fluent.ChainedCommonCreateSlotBuilder.class org.postgresql.replication.fluent.ChainedCommonStreamBuilder.class org.postgresql.replication.fluent.ChainedCreateReplicationSlotBuilder.class org.postgresql.replication.fluent.ChainedStreamBuilder.class org.postgresql.replication.fluent.CommonOptions.class org.postgresql.replication.fluent.ReplicationCreateSlotBuilder.class org.postgresql.replication.fluent.ReplicationStreamBuilder.class org.postgresql.replication.fluent.logical.ChainedLogicalCreateSlotBuilder.class org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder.class org.postgresql.replication.fluent.logical.LogicalCreateSlotBuilder.class org.postgresql.replication.fluent.logical.LogicalReplicationOptions.class org.postgresql.replication.fluent.logical.LogicalStreamBuilder.class org.postgresql.replication.fluent.logical.StartLogicalReplicationCallback.class org.postgresql.replication.fluent.physical.ChainedPhysicalCreateSlotBuilder.class org.postgresql.replication.fluent.physical.ChainedPhysicalStreamBuilder.class org.postgresql.replication.fluent.physical.PhysicalCreateSlotBuilder.class org.postgresql.replication.fluent.physical.PhysicalReplicationOptions.class org.postgresql.replication.fluent.physical.PhysicalStreamBuilder.class org.postgresql.replication.fluent.physical.StartPhysicalReplicationCallback.class org.postgresql.ssl.DbKeyStoreSocketFactory.class org.postgresql.ssl.MakeSSL.class org.postgresql.ssl.NonValidatingFactory.class org.postgresql.ssl.SingleCertValidatingFactory.class org.postgresql.ssl.WrappedFactory.class org.postgresql.ssl.jdbc4.LazyKeyManager.class org.postgresql.ssl.jdbc4.LibPQFactory.class org.postgresql.sspi.ISSPIClient.class org.postgresql.sspi.NTDSAPI.class org.postgresql.sspi.NTDSAPIWrapper.class org.postgresql.sspi.SSPIClient.class org.postgresql.translation.messages_bg.class org.postgresql.translation.messages_cs.class org.postgresql.translation.messages_de.class org.postgresql.translation.messages_es.class org.postgresql.translation.messages_fr.class org.postgresql.translation.messages_it.class org.postgresql.translation.messages_ja.class org.postgresql.translation.messages_nl.class org.postgresql.translation.messages_pl.class org.postgresql.translation.messages_pt_BR.class org.postgresql.translation.messages_ru.class org.postgresql.translation.messages_sr.class org.postgresql.translation.messages_tr.class org.postgresql.translation.messages_zh_CN.class org.postgresql.translation.messages_zh_TW.class org.postgresql.util.Base64.class org.postgresql.util.ByteConverter.class org.postgresql.util.CanEstimateSize.class org.postgresql.util.DriverInfo.class org.postgresql.util.ExpressionProperties.class org.postgresql.util.GT.class org.postgresql.util.HStoreConverter.class org.postgresql.util.HostSpec.class org.postgresql.util.JdbcBlackHole.class org.postgresql.util.LruCache.class org.postgresql.util.MD5Digest.class org.postgresql.util.ObjectFactory.class org.postgresql.util.PGBinaryObject.class org.postgresql.util.PGInterval.class org.postgresql.util.PGJDBCMain.class org.postgresql.util.PGTime.class org.postgresql.util.PGTimestamp.class org.postgresql.util.PGbytea.class org.postgresql.util.PGmoney.class org.postgresql.util.PGobject.class org.postgresql.util.PGtokenizer.class org.postgresql.util.PSQLException.class org.postgresql.util.PSQLState.class org.postgresql.util.PSQLWarning.class org.postgresql.util.ReaderInputStream.class org.postgresql.util.ServerErrorMessage.class org.postgresql.util.SharedTimer.class org.postgresql.util.StreamWrapper.class org.postgresql.util.UnixCrypt.class org.postgresql.xa.PGXAConnection.class org.postgresql.xa.PGXADataSource.class org.postgresql.xa.PGXADataSourceFactory.class org.postgresql.xa.PGXAException.class org.postgresql.xa.RecoveredXid.class
postgresql-42.0.0.pom file content.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.postgresql</groupId> <artifactId>pgjdbc-core-parent</artifactId> <version>1.1.2</version> <relativePath /> </parent> <artifactId>postgresql</artifactId> <packaging>bundle</packaging> <name>PostgreSQL JDBC Driver - JDBC 4.2</name> <version>42.0.0</version> <description>Java JDBC 4.2 (JRE 8+) driver for PostgreSQL database</description> <url>https://github.com/pgjdbc/pgjdbc</url> <licenses> <license> <name>BSD-2-Clause</name> <url>https://jdbc.postgresql.org/about/license.html</url> </license> </licenses> <organization> <name>PostgreSQL Global Development Group</name> <url>https://jdbc.postgresql.org/</url> </organization> <properties> <!-- Require JDK 1.8 or later --> <javac.target>1.8</javac.target> <postgresql.enforce.jdk.version>1.8</postgresql.enforce.jdk.version> <jdbc.specification.version>4.2</jdbc.specification.version> <jdbc.specification.version.nodot>42</jdbc.specification.version.nodot> <skip.assembly>false</skip.assembly> <checkstyle.version>7.4</checkstyle.version> </properties> <profiles> <profile> <id>translate</id> <activation> <activeByDefault>false</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>com.googlecode.gettext-commons</groupId> <artifactId>gettext-maven-plugin</artifactId> <version>1.2.4</version> <executions> <execution> <id>generate_pot_and_po_files</id> <phase>generate-resources</phase> <goals> <goal>merge</goal> </goals> <configuration> <outputDirectory>src/main/resources</outputDirectory> </configuration> </execution> <execution> <id>generate_resource_bundles</id> <phase>generate-resources</phase> <goals> <goal>dist</goal> </goals> </execution> </executions> <configuration> <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> <outputDirectory>src/main/resources</outputDirectory> <keysFile>messages.pot</keysFile> <poDirectory>src/main/java/org/postgresql/translation</poDirectory> <targetBundle>org.postgresql.translation.messages</targetBundle> <keywords>-kGT.tr</keywords> <msgmergeCmd>msgmerge</msgmergeCmd> </configuration> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <executions> <execution> <id>clean_msmerge_backups</id> <goals> <goal>clean</goal> </goals> <phase>compile</phase> <configuration> <!-- Do not delete target folder --> <excludeDefaultDirectories>true</excludeDefaultDirectories> <filesets> <fileset> <directory>src/main/resources/org/postgresql/translation</directory> <includes> <include>**$*.class</include> <include>messages.properties</include> <include>messages_en.properties</include> </includes> <followSymlinks>false</followSymlinks> </fileset> <fileset> <directory>src/main/java/org/postgresql/translation</directory> <includes> <include>*.po.~*~</include> </includes> <followSymlinks>false</followSymlinks> </fileset> </filesets> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>excludeWaffleFiles</id> <activation> <property> <name>waffleEnabled</name> <value>false</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <excludes combine.children="append"> <exclude>org/postgresql/sspi/NTDSAPI.java</exclude> <exclude>org/postgresql/sspi/NTDSAPIWrapper.java</exclude> <exclude>org/postgresql/sspi/SSPIClient.java</exclude> </excludes> <testExcludes> <exclude>org/postgresql/test/sspi/*.java</exclude> </testExcludes> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>excludeOsgiFiles</id> <activation> <property> <name>osgiEnabled</name> <value>false</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <excludes combine.children="append"> <exclude>org/postgresql/osgi/PGBundleActivator.java</exclude> <exclude>org/postgresql/osgi/PGDataSourceFactory.java</exclude> </excludes> <testExcludes combine.children="append"> <exclude>**/PGDataSourceFactoryTest.java</exclude> <exclude>**/OsgiTestSuite.java</exclude> </testExcludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> <exclude>**/OsgiTestSuite.java</exclude> <exclude>**/PGDataSourceFactoryTest.java</exclude> </excludes> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>jdk9-workarounds</id> <!-- see https://github.com/pgjdbc/pgjdbc/pull/565 --> <activation> <property> <name>javac.target</name> <value>1.9</value> </property> </activation> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-archiver</artifactId> <version>2.4.4</version> <!-- newer versions fail as described in http://stackoverflow.com/a/36605759/1261287 Caused by: java.lang.ArrayIndexOutOfBoundsException: 1 at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.<clinit>(AbstractZipArchiver.java:116) --> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-archiver</artifactId> <version>2.4.4</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version> <!-- override version to older one --> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-archiver</artifactId> <version>2.4.4</version> </dependency> </dependencies> </plugin> </plugins> </pluginManagement> </build> </profile> </profiles> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <configuration> <chmod>true</chmod> <inputEncoding>UTF-8</inputEncoding> <outputEncoding>UTF-8</outputEncoding> </configuration> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.17</version> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>${checkstyle.version}</version> </dependency> </dependencies> <configuration> <configLocation>src/main/checkstyle/checks.xml</configLocation> <violationSeverity>error</violationSeverity> <failOnViolation>true</failOnViolation> <failsOnError>true</failsOnError> <consoleOutput>true</consoleOutput> <includeTestSourceDirectory>true</includeTestSourceDirectory> </configuration> </plugin> </plugins> </pluginManagement> </build> <scm> <tag>REL42.0.0</tag> </scm> </project>
<dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <version>42.0.0</version> </dependency>
If you think the following postgresql-42.0.0.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.
Download postgresql-42.0.0.jar file