Skip to content

Latest commit

 

History

History

psycopg3

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

psycopg3 sample

This sample application shows how to connect to Cloud Spanner through PGAdapter using the standard psycopg3 PostgreSQL driver. PGAdapter is automatically started in a Docker container by the sample application.

Run the sample with the following command:

python psycopg3_sample.py \
    -p my-project \
    -i my-instance \
    -i my-database