diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-05-09 23:13:37 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-05-09 23:13:37 +0000 |
commit | c23bc6fbb02455ee9c2e0206747a929aa79b7d01 (patch) | |
tree | 798bf1a1cdfa4e5c9d2d5f50e951a8d49f04c74d /src/include/utils/lsyscache.h | |
parent | e02033572d1a017e481b69c937e6618c4c2af234 (diff) |
First cut at making indexscan cost estimates depend on correlation
between index order and table order.
Diffstat (limited to 'src/include/utils/lsyscache.h')
-rw-r--r-- | src/include/utils/lsyscache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/utils/lsyscache.h b/src/include/utils/lsyscache.h index 3f18a4aea63..719f68a873f 100644 --- a/src/include/utils/lsyscache.h +++ b/src/include/utils/lsyscache.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: lsyscache.h,v 1.32 2001/05/09 00:35:09 tgl Exp $ + * $Id: lsyscache.h,v 1.33 2001/05/09 23:13:37 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -21,6 +21,8 @@ extern AttrNumber get_attnum(Oid relid, char *attname); extern Oid get_atttype(Oid relid, AttrNumber attnum); extern bool get_attisset(Oid relid, char *attname); extern int32 get_atttypmod(Oid relid, AttrNumber attnum); +extern void get_atttypetypmod(Oid relid, AttrNumber attnum, + Oid *typid, int32 *typmod); extern RegProcedure get_opcode(Oid opno); extern char *get_opname(Oid opno); extern bool op_mergejoinable(Oid opno, Oid ltype, Oid rtype, |