mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Add aggsortop column to pg_aggregate, so that MIN/MAX optimization can
be supported for all datatypes. Add CREATE AGGREGATE and pg_dump support too. Add specialized min/max aggregates for bpchar, instead of depending on text's min/max, because otherwise the possible use of bpchar indexes cannot be recognized. initdb forced because of catalog changes.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.254 2005/03/29 00:17:18 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.255 2005/04/12 04:26:32 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -522,6 +522,8 @@ extern Datum bpcharle(PG_FUNCTION_ARGS);
|
||||
extern Datum bpchargt(PG_FUNCTION_ARGS);
|
||||
extern Datum bpcharge(PG_FUNCTION_ARGS);
|
||||
extern Datum bpcharcmp(PG_FUNCTION_ARGS);
|
||||
extern Datum bpchar_larger(PG_FUNCTION_ARGS);
|
||||
extern Datum bpchar_smaller(PG_FUNCTION_ARGS);
|
||||
extern Datum bpcharlen(PG_FUNCTION_ARGS);
|
||||
extern Datum bpcharoctetlen(PG_FUNCTION_ARGS);
|
||||
extern Datum hashbpchar(PG_FUNCTION_ARGS);
|
||||
|
Reference in New Issue
Block a user