pgsql: Allow implicit cast from any named composite type to RECORD.

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow implicit cast from any named composite type to RECORD.
Date: 2005-05-05 00:19:47
Message-ID: 20050505001947.9307C53524@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Allow implicit cast from any named composite type to RECORD. At the
moment this has no particular use except to allow table rows to be
passed to record_out(), but that case seems to be useful in itself
per recent example from Elein. Further down the road we could look
at letting PL functions be declared to accept RECORD parameters.

Modified Files:
--------------
pgsql/src/backend/parser:
parse_coerce.c (r2.127 -> r2.128)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/parse_coerce.c.diff?r1=2.127&r2=2.128)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2005-05-05 01:23:52 pgsql: Typo fix, Dave Held
Previous Message Tom Lane 2005-05-04 22:35:22 pgsql: Use postmaster_is_alive() check in pg_ctl restart as well as