Skip to content

Commit f4213e6

Browse files
committed
Fix initdb problem introduced by recent patch.
1 parent 4853495 commit f4213e6

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/backend/catalog/heap.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.78 1999/05/10 00:44:54 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.79 1999/05/10 04:02:03 momjian Exp $
1111
*
1212
*
1313
* INTERFACE ROUTINES
@@ -761,10 +761,10 @@ AddNewRelationType(char *typeName, Oid new_rel_oid)
761761
typeLen(typeidType(OIDOID)), /* external size */
762762
'c', /* type-type (catalog) */
763763
',', /* default array delimiter */
764-
"oidin", /* input procedure */
765-
"oidout", /* output procedure */
766-
"oidin", /* receive procedure */
767-
"oidout", /* send procedure */
764+
"int4in", /* input procedure */
765+
"int4out", /* output procedure */
766+
"int4in", /* receive procedure */
767+
"int4out", /* send procedure */
768768
NULL, /* array element type - irrelevent */
769769
"-", /* default type value */
770770
(bool) 1, /* passed by value */

src/backend/utils/fmgr/fmgr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/fmgr/fmgr.c,v 1.26 1999/05/10 00:46:14 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/fmgr/fmgr.c,v 1.27 1999/05/10 04:02:05 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -277,7 +277,7 @@ fmgr_info(Oid procedureId, FmgrInfo *finfo)
277277
0, 0, 0);
278278
if (!HeapTupleIsValid(languageTuple))
279279
{
280-
elog(ERROR, "fmgr_info: %u",
280+
elog(ERROR, "fmgr_info: %s %u",
281281
"Cache lookup for language failed",
282282
DatumGetObjectId(procedureStruct->prolang));
283283
}

src/include/catalog/pg_type.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: pg_type.h,v 1.60 1999/05/10 00:46:20 momjian Exp $
10+
* $Id: pg_type.h,v 1.61 1999/05/10 04:02:07 momjian Exp $
1111
*
1212
* NOTES
1313
* the genbki.sh script reads this file and generates .bki
@@ -198,7 +198,7 @@ DATA(insert OID = 25 ( text PGUID -1 -1 f b t \054 0 18 textin textout text
198198
DESCR("native variable-length string");
199199
#define TEXTOID 25
200200

201-
DATA(insert OID = 26 ( oid PGUID 4 10 t b t \054 0 0 oidin oidout oidin oidout i _null_ ));
201+
DATA(insert OID = 26 ( oid PGUID 4 10 t b t \054 0 0 int4in int4out int4in int4out i _null_ ));
202202
DESCR("object identifier type");
203203
#define OIDOID 26
204204

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy