Re: Typmod associated with multi-row VALUES constructs - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Typmod associated with multi-row VALUES constructs
Date
Msg-id 20161207211751.4inm4caewmmzwltz@alvherre.pgsql
Whole thread Raw
In response to Re: Typmod associated with multi-row VALUES constructs  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Typmod associated with multi-row VALUES constructs
Re: Typmod associated with multi-row VALUES constructs
List pgsql-hackers
Tom Lane wrote:

> In HEAD, we could change the RTE data structure so that
> transformValuesClause could save the typmod information in the RTE,
> keeping the lookups cheap.

Hmm, I think this would be useful for the XMLTABLE patch too.  I talked
a bit about it at
https://www.postgresql.org/message-id/20161122204730.dgipy6gxi25j4e6a@alvherre.pgsql

The patch has evolved quite a bit since then, but the tupdesc continues
to be a problem.  Latest patch is at
https://www.postgresql.org/message-id/CAFj8pRBsrhwR636-_3TPbqu%3DFo3_DDer6_yp_afzR7qzhW1T6Q%40mail.gmail.com

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Indirect indexes
Next
From: Alex Hunsaker
Date:
Subject: Re: Back-patch use of unnamed POSIX semaphores for Linux?