The PostgreSQL language in Spanner

This page summarizes PostgreSQL language support in Spanner.

Spanner provides PostgreSQL language support by expressing Spanner database features through a subset of open source PostgreSQL language constructs, with extensions added to support Spanner features like interleaved tables and hints.

For detailed information about this support, refer to these pages:

Spanner doesn't support several open source PostgreSQL features, including the following:

  • Triggers
  • SERIAL
  • Fine-grained concurrency control
  • SAVEPOINT
  • Transactional DDL
  • Partial indexes
  • Extensions
  • Foreign data wrappers
  • User-defined data types, functions and operators

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月10日 UTC.