Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitefd3b39

Browse files
committed
Fix for arrays.
1 parentb1f3f44 commitefd3b39

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/backend/access/common/tupdesc.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.23 1997/09/08 21:40:27 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.24 1997/09/10 23:30:45 momjian Exp $
1111
*
1212
* NOTES
1313
* some of the executor utility code such as "ExecTypeFromTL" should be
@@ -483,7 +483,11 @@ BuildDescForRelation(List *schema, char *relname)
483483

484484
strNcpy(typename,entry->typename->name,NAMEDATALEN-1);
485485
if (arry!=NIL)
486+
{
487+
/* array of XXX is _XXX */
488+
sprintf(typename,"_%.*s",NAMEDATALEN-2,entry->typename->name);
486489
attdim=length(arry);
490+
}
487491
else
488492
attdim=0;
489493

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp