From 48165ec2262b73c5b81a6caabab66d883d013a83 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 5 Jun 2000 07:29:25 +0000 Subject: Latest round of fmgr updates. All functions with bool,char, or int2 inputs have been converted to newstyle. This should go a long way towards fixing our portability problems with platforms where char and short parameters are passed differently from int-width parameters. Still more to do for the Alpha port however. --- src/pl/plpgsql/src/gram.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pl/plpgsql') diff --git a/src/pl/plpgsql/src/gram.y b/src/pl/plpgsql/src/gram.y index 831ad83e8c..e76ddecb3c 100644 --- a/src/pl/plpgsql/src/gram.y +++ b/src/pl/plpgsql/src/gram.y @@ -4,7 +4,7 @@ * procedural language * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/gram.y,v 1.9 2000/05/29 21:25:07 momjian Exp $ + * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/gram.y,v 1.10 2000/06/05 07:29:14 tgl Exp $ * * This software is copyrighted by Jan Wieck - Hamburg. * @@ -433,7 +433,7 @@ decl_atttypmod : decl_atttypmodval : T_NUMBER { - $$ = int2in(yytext) + VARHDRSZ; + $$ = pg_atoi(yytext, sizeof(int16), '\0') + VARHDRSZ; } ; -- cgit v1.2.1