aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2015-10-16 17:29:05 +0200
committerMichael Meskes <meskes@postgresql.org>2015-10-18 10:15:18 +0200
commit93726145434c593770e51c129737342fb3634b8a (patch)
treef68494d021dd5485c83f15a26af46f0d6876a362
parent6a7a2ee77731fa21ef10a6f1cb7c3df727632d5d (diff)
downloadpostgresql-93726145434c593770e51c129737342fb3634b8a.tar.gz
postgresql-93726145434c593770e51c129737342fb3634b8a.zip
Fix order of arguments in ecpg generated typedef command.
-rw-r--r--src/interfaces/ecpg/preproc/ecpg.trailer2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.trailer b/src/interfaces/ecpg/preproc/ecpg.trailer
index 8cc3844b734..16359a309b7 100644
--- a/src/interfaces/ecpg/preproc/ecpg.trailer
+++ b/src/interfaces/ecpg/preproc/ecpg.trailer
@@ -1311,7 +1311,7 @@ ECPGTypedef: TYPE_P
if (auto_create_c == false)
$$ = cat_str(7, mm_strdup("/* exec sql type"), mm_strdup($3), mm_strdup("is"), mm_strdup($5.type_str), mm_strdup($6.str), $7, mm_strdup("*/"));
else
- $$ = cat_str(6, mm_strdup("typedef "), mm_strdup($5.type_str), *$7?mm_strdup("*"):mm_strdup(""), mm_strdup($6.str), mm_strdup($3), mm_strdup(";"));
+ $$ = cat_str(6, mm_strdup("typedef "), mm_strdup($5.type_str), *$7?mm_strdup("*"):mm_strdup(""), mm_strdup($3), mm_strdup($6.str), mm_strdup(";"));
}
;