Stephen Frost wrote: > * Julien Rouhaud (julien.rouh...@dalibo.com) wrote:
> XLTW_InsertIndexUnique is used when building a unique index, but this is > just a check, and more to the point, it's actually a re-check of what > we're doing in nbinsert.c where we're already using XLTW_InsertIndex. > > We wouldn't want to end up returning different error messages for the > same command under the same conditions just based, which is what we'd > potentially end up doing if we used XLTW_InsertIndexUnique here. Perhaps we need a new value in that enum, so that the context message is specific to the situation at hand? -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers