Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1f3f44 commit efd3b39Copy full SHA for efd3b39
src/backend/access/common/tupdesc.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.23 1997/09/08 21:40:27 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.24 1997/09/10 23:30:45 momjian Exp $
11
12
* NOTES
13
* some of the executor utility code such as "ExecTypeFromTL" should be
@@ -483,7 +483,11 @@ BuildDescForRelation(List *schema, char *relname)
483
484
strNcpy(typename, entry->typename->name, NAMEDATALEN - 1);
485
if (arry != NIL)
486
+ {
487
+ /* array of XXX is _XXX */
488
+ sprintf(typename, "_%.*s", NAMEDATALEN-2,entry->typename->name);
489
attdim = length(arry);
490
+ }
491
else
492
attdim = 0;
493
0 commit comments