diff --git a/src/backend/access/common/tupdesc.c b/src/backend/access/common/tupdesc.c index 1e8d2ae00343a5964c4a5d01b164413c0dc3c4f8..f0301c4d6c37c06b5579d99417232b9cc6dbcb00 100644 --- a/src/backend/access/common/tupdesc.c +++ b/src/backend/access/common/tupdesc.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.62 2000/04/12 17:14:37 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.63 2000/05/22 02:34:20 momjian Exp $ * * NOTES * some of the executor utility code such as "ExecTypeFromTL" should be @@ -304,7 +304,7 @@ bool TupleDescInitEntry(TupleDesc desc, AttrNumber attributeNumber, char *attributeName, - Oid typeid, + Oid oidtypeid, int32 typmod, int attdim, bool attisset) @@ -378,7 +378,7 @@ TupleDescInitEntry(TupleDesc desc, * ---------------- */ tuple = SearchSysCacheTuple(TYPEOID, - ObjectIdGetDatum(typeid), + ObjectIdGetDatum(oidtypeid), 0, 0, 0); if (!HeapTupleIsValid(tuple)) { @@ -431,7 +431,7 @@ TupleDescInitEntry(TupleDesc desc, */ if (attisset) { - Type t = typeidType(OIDOID); + Type t = oidtypeidType(OIDOID); att->attlen = typeLen(t); att->attbyval = typeByVal(t); diff --git a/src/backend/utils/Gen_fmgrtab.sh.in b/src/backend/utils/Gen_fmgrtab.sh.in index 1f2e7f82ed8aecc5b1d2e133d4089f29ad0d80b6..975e2a0f9a2866804b27fa8d3cb40a372e372404 100644 --- a/src/backend/utils/Gen_fmgrtab.sh.in +++ b/src/backend/utils/Gen_fmgrtab.sh.in @@ -8,7 +8,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.20 2000/05/16 02:14:14 tgl Exp $ +# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.21 2000/05/22 02:34:21 momjian Exp $ # # NOTES # Passes any -D options on to cpp prior to generating the list @@ -83,7 +83,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf * * Copyright (c) 1994, Regents of the University of California * - * $Id: Gen_fmgrtab.sh.in,v 1.20 2000/05/16 02:14:14 tgl Exp $ + * $Id: Gen_fmgrtab.sh.in,v 1.21 2000/05/22 02:34:21 momjian Exp $ * * NOTES * ****************************** @@ -136,7 +136,7 @@ extern void load_file(char *filename); */ /* We don't make this static so fmgr_faddr() macros can access it */ -FmgrInfo *fmgr_pl_finfo; +extern FmgrInfo *fmgr_pl_finfo; #define fmgr_faddr(finfo) \ ( \ @@ -197,7 +197,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.20 2000/05/16 02:14:14 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.21 2000/05/22 02:34:21 momjian Exp $ * * NOTES * diff --git a/src/backend/utils/fmgr/fmgr.c b/src/backend/utils/fmgr/fmgr.c index 18dbb84345c191f4c698dc2499cc9432032c640e..bdac32a2551c029d9c5bcf9f8b22d79d3e243637 100644 --- a/src/backend/utils/fmgr/fmgr.c +++ b/src/backend/utils/fmgr/fmgr.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/fmgr/fmgr.c,v 1.38 2000/05/16 20:48:50 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/fmgr/fmgr.c,v 1.39 2000/05/22 02:34:22 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -28,6 +28,7 @@ * * XXX: use of global fmgr_pl_finfo variable is really ugly. FIXME */ +FmgrInfo *fmgr_pl_finfo; static char * fmgr_pl(char *arg0,...) diff --git a/src/include/access/tupdesc.h b/src/include/access/tupdesc.h index dbdc27931a56973a06720624d3437ca761112af8..662842cf45dae7fef474a690b96997228baa9669 100644 --- a/src/include/access/tupdesc.h +++ b/src/include/access/tupdesc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: tupdesc.h,v 1.28 2000/04/12 17:16:26 momjian Exp $ + * $Id: tupdesc.h,v 1.29 2000/05/22 02:34:23 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -68,7 +68,7 @@ extern bool equalTupleDescs(TupleDesc tupdesc1, TupleDesc tupdesc2); extern bool TupleDescInitEntry(TupleDesc desc, AttrNumber attributeNumber, char *attributeName, - Oid typeid, + Oid oidtypeid, int32 typmod, int attdim, bool attisset);