[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],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)."]]