ZOYKU火線榜

ballerina-platform/module-ballerinax-postgresql.driver技術文件

Ballerina PostgreSQL DB Driver

多語言回退提示:當前倉庫原作者暫未發布在地化文件,已為您無縫切換至官方英文原版(English),排版及程式碼實例完整保真。
極速安裝
git clone https://github.com/ballerina-platform/module-ballerinax-postgresql.driver.git

Ballerina PostgreSQL Driver Library

The PostgreSQL Driver library is one of the external library packages of the Ballerina language.

This Package bundles the latest PostgreSQL drivers so that the PostgreSQL connector can be used in ballerina projects easily.

Build from the source

Set up the prerequisites

  1. Download and install Java SE Development Kit (JDK) version 21 (from one of the following locations).

  2. Export your GitHub personal access token with read package permissions as follows.

    export packageUser=<Username>
    export packagePAT=<Personal access token>
    

Build the source

Execute the commands below to build from the source.

  1. To build the library:

     ./gradlew clean build
    
  2. Publish ZIP artifact to the local .m2 repository:

    ./gradlew clean build publishToMavenLocal
    
  3. Publish the generated artifacts to the local Ballerina central repository:

    ./gradlew clean build -PpublishToLocalCentral=true
    
  4. Publish the generated artifacts to the Ballerina central repository:

     ./gradlew clean build -PpublishToCentral=true
    

Contribute to Ballerina

As an open source project, Ballerina welcomes contributions from the community.

For more information, go to the contribution guidelines.

Code of conduct

All contributors are encouraged to read the Ballerina code of conduct.

文件鏡像歸檔自 GitHub 官方源路徑 · 造訪原專案 GitHub
最後同步快照:2026-11-09