Allow generalized expression syntax for partition bounds

Peter Eisentraut <peter@eisentraut.org>

Commit: 7c079d7417a8f2d4bf5144732e2f85117db9214f
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2019-01-25T10:28:49Z
Releases: 12.0
Allow generalized expression syntax for partition bounds

Previously, only literals were allowed.  This change allows general
expressions, including functions calls, which are evaluated at the
time the DDL command is executed.

Besides offering some more functionality, it simplifies the parser
structures and removes some inconsistencies in how the literals were
handled.

Author: Kyotaro Horiguchi, Tom Lane, Amit Langote
Reviewed-by: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Discussion: https://www.postgresql.org/message-id/flat/9f88b5e0-6da2-5227-20d0-0d7012beaa1c@lab.ntt.co.jp/

Files

Documentation touched

Discussion

Cited messages not in the archive: 9f88b5e0-6da2-5227-20d0-0d7012beaa1c@lab.ntt.co.jp/