aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-11-08 01:08:37 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-11-08 01:08:37 +0000
commit026387013e6a6e924889216f5524b2ddd942ca20 (patch)
tree9d7513f1c3d7aebe55059dae9de3d6df6c0d6483 /src
parentad6ca0c3af75cdbae0cdae6c6d9f19d21e457897 (diff)
downloadpostgresql-026387013e6a6e924889216f5524b2ddd942ca20.tar.gz
postgresql-026387013e6a6e924889216f5524b2ddd942ca20.zip
Secondly, small problem when trying to create a MAX/MIN aggregate in 1.09.
>From the create_aggregate man page... "The arguments to state-transition-function-1 must be (stype1,basetype), and its return value must be stype1." create aggregate MIN (sfunc1 = int2smaller, basetype = int2, stype1 = int2); will fail becase int2smaller and int2larger are in pg_proc as returning an int4. Can't happen since both args have to be int2. From: Darren King <aixssd!ceodev!darrenk@abs.net>
Diffstat (limited to 'src')
-rw-r--r--src/include/catalog/pg_proc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h
index 4197122e591..612fd00884c 100644
--- a/src/include/catalog/pg_proc.h
+++ b/src/include/catalog/pg_proc.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_proc.h,v 1.4 1996/11/05 10:37:16 scrappy Exp $
+ * $Id: pg_proc.h,v 1.5 1996/11/08 01:08:37 scrappy Exp $
*
* NOTES
* The script catalog/genbki.sh reads this file and generates .bki
@@ -571,8 +571,8 @@ DATA(insert OID = 766 ( int4inc PGUID 11 f t f 1 f 23 "23" 100 0 0 10
DATA(insert OID = 767 ( int2inc PGUID 11 f t f 1 f 21 "21" 100 0 0 100 foo bar ));
DATA(insert OID = 768 ( int4larger PGUID 11 f t f 2 f 23 "23 23" 100 0 0 100 foo bar ));
DATA(insert OID = 769 ( int4smaller PGUID 11 f t f 2 f 23 "23 23" 100 0 0 100 foo bar ));
-DATA(insert OID = 770 ( int2larger PGUID 11 f t f 2 f 23 "21 21" 100 0 0 100 foo bar ));
-DATA(insert OID = 771 ( int2smaller PGUID 11 f t f 2 f 23 "21 21" 100 0 0 100 foo bar ));
+DATA(insert OID = 770 ( int2larger PGUID 11 f t f 2 f 21 "21 21" 100 0 0 100 foo bar ));
+DATA(insert OID = 771 ( int2smaller PGUID 11 f t f 2 f 21 "21 21" 100 0 0 100 foo bar ));
DATA(insert OID = 772 ( gistsel PGUID 11 f t t 7 f 701 "26 26 21 0 23 23 26" 100 0 0 100 foo bar ));
DATA(insert OID = 773 ( gistnpage PGUID 11 f t t 7 f 701 "26 26 21 0 23 23 26" 100 0 0 100 foo bar ));
DATA(insert OID = 774 ( gistgettuple PGUID 11 f t f 2 f 23 "0" 100 0 0 100 foo bar ));