Skip site navigation (1) Skip section navigation (2)

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

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 ifit'
Date: 2011-01-01 21:04:53
Message-ID: E1PZ8dB-0007PQ-3E@gemulon.postgresql.org (view raw or flat)
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(-)

pgsql-committers by date

Next:From: Robert HaasDate: 2011-01-01 22:52:21
Subject: pgsql: Fix pg_dump support for security labels on columns.
Previous:From: Bruce MomjianDate: 2011-01-01 20:56:11
Subject: pgsql: Add #include <time.h> to pg_ctl.c to fix compiler warning.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group