mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Avoid redundant SysCache searches in coerce_type, for another
few percent speedup in INSERT...
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/parse_target.c,v 1.40 1999/05/25 16:10:21 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/parse_target.c,v 1.41 1999/05/29 03:17:20 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -241,7 +241,7 @@ MakeTargetEntryExpr(ParseState *pstate,
|
||||
Oid typelem;
|
||||
|
||||
if (arrayRef && !(((A_Indices *) lfirst(arrayRef))->lidx))
|
||||
typelem = typeidTypElem(attrtype);
|
||||
typelem = typeTypElem(typeidType(attrtype));
|
||||
else
|
||||
typelem = attrtype;
|
||||
|
||||
|
Reference in New Issue
Block a user