[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-03 (世界標準時間)。"],[],[],null,["# Get PGAdapter\n\nThis page explains how to get the PGAdapter binary. PGAdapter\nis used with PostgreSQL-dialect databases.\n\n- To run the PGAdapter standalone in the JVM, download the latest `jar`\n file and a new `lib` directory that contains the required dependencies.\n\n wget https://storage.googleapis.com/pgadapter-jar-releases/pgadapter.tar.gz \\\n && tar -xzvf pgadapter.tar.gz\n\n- To run PGAdapter in a Docker container, get the latest version\n by executing the following command:\n\n docker pull gcr.io/cloud-spanner-pg-adapter/pgadapter\n\n Get a previous version by appending the version as a tag. \n\n docker pull gcr.io/cloud-spanner-pg-adapter/pgadapter:v\u003cversion-number\u003e\n\n- To use PGAdapter in a process:\n\n Add `google-cloud-spanner-pgadapter` as a dependency to your project by adding\n the following code to your `pom.xml` file:\n\n\n \u003cdependency\u003e\n \u003cgroupId\u003ecom.google.cloud\u003c/groupId\u003e\n \u003cartifactId\u003egoogle-cloud-spanner-pgadapter\u003c/artifactId\u003e\n \u003cversion\u003e0.50.0\u003c/version\u003e\n \u003c/dependency\u003e\n\n \u003cbr /\u003e\n\nWhat's next\n-----------\n\n- Learn how to [Start PGAdapter](/spanner/docs/pgadapter-start)."]]