mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
Various compile errors concerning overflow due to shifts, unsigned, and bad prototypes, from Solaris, from Diab Jerius
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.18 1997/02/14 04:15:49 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.19 1997/07/24 20:13:21 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -447,7 +447,7 @@ ParseAgg(char *aggname, Oid basetype, Node *target)
|
||||
vartype = ((Expr*)target)->typeOid;
|
||||
|
||||
if (basetype != vartype) {
|
||||
Type tp1, tp2, get_id_type();
|
||||
Type tp1, tp2;
|
||||
|
||||
tp1 = get_id_type(basetype);
|
||||
tp2 = get_id_type(vartype);
|
||||
|
Reference in New Issue
Block a user