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

Commitf4213e6

Browse files
committed
Fix initdb problem introduced by recent patch.
1 parent4853495 commitf4213e6

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/1000:44:54 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.79 1999/05/1004: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/1000:46:14 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/fmgr/fmgr.c,v 1.27 1999/05/1004: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/1000:46:20 momjian Exp $
10+
* $Id: pg_type.h,v 1.61 1999/05/1004: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
#defineTEXTOID25
200200

201-
DATA(insertOID=26 (oidPGUID410tbt \05400oidinoidoutoidinoidouti_null_ ));
201+
DATA(insertOID=26 (oidPGUID410tbt \05400int4inint4outint4inint4outi_null_ ));
202202
DESCR("object identifier type");
203203
#defineOIDOID26
204204

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp