Re: INSERT and parentheses - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: INSERT and parentheses
Date
Msg-id 4C7386C9.9030204@cs.helsinki.fi
Whole thread Raw
In response to INSERT and parentheses  (igor polishchuk <ora4dba@gmail.com>)
Responses Re: INSERT and parentheses
List pgsql-hackers
On 2010-08-24 8:25 AM +0300, igor polishchuk wrote:
> Marko et al,
> This is my first ever attempt of a patch review just for learning the
> procedure. I'm not a postgres developer, so the review is partial and mostly
> from the usability prospective.

That's all right.  I'm sure any help is appreciated.

> The patch provides a HINT for unclear error. This should clarify for a user
> what exactly is wrong with the sql.
> However, the actual HINT text provided with the patch is not very clear,
> too.
> The Stephen Frost's suggestion would add clarity:
>
> errhint("insert appears to be a single column with a record-type rather than
> multiple columns of non-composite type."),

This isn't entirely accurate, either; the columns are not necessarily of 
non-composite types.


Regards,
Marko Tiikkaja


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Interruptible sleeps (was Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers!)
Next
From: Andrew Dunstan
Date:
Subject: Re: WIP: extensible enums