pgsql: Allow casting a table's row type to the table's supertype if it'

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow casting a table's row type to the table's supertype if it'
Date: 2011-01-01 21:04:53
Message-ID: E1PZ8dB-0007PQ-3E@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Allow casting a table's row type to the table's supertype if it's a typed table

This is analogous to the existing facility that allows casting a row type to a
supertable's row type.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=6a208aa40438652e2f3129a63af5d08ae53d9398

Modified Files
--------------
src/backend/parser/parse_coerce.c | 39 +++++++++++++++++++++++++++-
src/test/regress/expected/typed_table.out | 15 +++++++++++
src/test/regress/sql/typed_table.sql | 12 +++++++++
3 files changed, 64 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-01-01 22:52:21 pgsql: Minor wordsmithing.
Previous Message Bruce Momjian 2011-01-01 20:56:11 pgsql: Add #include <time.h> to pg_ctl.c to fix compiler warning.