Re: INSERT and parentheses - Mailing list pgsql-hackers

From Tom Lane
Subject Re: INSERT and parentheses
Date
Msg-id 17319.1272291606@sss.pgh.pa.us
Whole thread Raw
In response to Re: INSERT and parentheses  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> Not to be a pain, but the hint really is kind of terrible..  It'd
> probably be better if you included somewhere that the insert appears to
> be a single column with a record-type rather than multiple columns of
> non-composite type..

I don't much care for the test, either.  AFAICS, a hint like this would
only be appropriate for a RowExpr item, *not* a Var.  It might also be
worth checking the number of items in the RowExpr before deciding that
the hint is appropriate.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Thom Brown
Date:
Subject: Re: CIText and pattern_ops
Next
From: Bruce Momjian
Date:
Subject: Re: Order of pg_stat_activity timestamp columns