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

Commit0263870

Browse files
committed
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_procas returning an int4. Can't happen since both args have tobe int2.From: Darren King <aixssd!ceodev!darrenk@abs.net>
1 parentad6ca0c commit0263870

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/include/catalog/pg_proc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: pg_proc.h,v 1.4 1996/11/05 10:37:16 scrappy Exp $
9+
* $Id: pg_proc.h,v 1.5 1996/11/08 01:08:37 scrappy Exp $
1010
*
1111
* NOTES
1212
* 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
571571
DATA(insertOID=767 (int2incPGUID11ftf1f21"21"10000100foobar ));
572572
DATA(insertOID=768 (int4largerPGUID11ftf2f23"23 23"10000100foobar ));
573573
DATA(insertOID=769 (int4smallerPGUID11ftf2f23"23 23"10000100foobar ));
574-
DATA(insertOID=770 (int2largerPGUID11ftf2f23"21 21"10000100foobar ));
575-
DATA(insertOID=771 (int2smallerPGUID11ftf2f23"21 21"10000100foobar ));
574+
DATA(insertOID=770 (int2largerPGUID11ftf2f21"21 21"10000100foobar ));
575+
DATA(insertOID=771 (int2smallerPGUID11ftf2f21"21 21"10000100foobar ));
576576
DATA(insertOID=772 (gistselPGUID11ftt7f701"26 26 21 0 23 23 26"10000100foobar ));
577577
DATA(insertOID=773 (gistnpagePGUID11ftt7f701"26 26 21 0 23 23 26"10000100foobar ));
578578
DATA(insertOID=774 (gistgettuplePGUID11ftf2f23"0"10000100foobar ));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp