The PostgreSQL language in Spanner

This page summarizes PostgreSQL language support in Spanner.

Spanner provides PostgreSQL language support byexpressing Spanner database features through a subset ofopen source PostgreSQL language constructs, with extensions added tosupport Spanner features like interleaved tables andhints.

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

Spanner doesn't support several open source PostgreSQLfeatures, 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 theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-17 UTC.