mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Fix problems caused by code drift of API for without-oids.
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994-5, Regents of the University of California
|
* Portions Copyright (c) 1994-5, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.82 2002/07/20 05:49:27 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.83 2002/07/20 06:17:43 momjian Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ ExplainQuery(ExplainStmt *stmt, CommandDest dest)
|
|||||||
List *l;
|
List *l;
|
||||||
|
|
||||||
/* need a tuple descriptor representing a single TEXT column */
|
/* need a tuple descriptor representing a single TEXT column */
|
||||||
tupdesc = CreateTemplateTupleDesc(1);
|
tupdesc = CreateTemplateTupleDesc(1, WITHOUTOID);
|
||||||
TupleDescInitEntry(tupdesc, (AttrNumber) 1, "QUERY PLAN",
|
TupleDescInitEntry(tupdesc, (AttrNumber) 1, "QUERY PLAN",
|
||||||
TEXTOID, -1, 0, false);
|
TEXTOID, -1, 0, false);
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* command, configuration file, and command line options.
|
* command, configuration file, and command line options.
|
||||||
* See src/backend/utils/misc/README for more information.
|
* See src/backend/utils/misc/README for more information.
|
||||||
*
|
*
|
||||||
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.73 2002/07/20 05:49:27 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.74 2002/07/20 06:17:43 momjian Exp $
|
||||||
*
|
*
|
||||||
* Copyright 2000 by PostgreSQL Global Development Group
|
* Copyright 2000 by PostgreSQL Global Development Group
|
||||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||||
@ -2262,7 +2262,7 @@ ShowGUCConfigOption(const char *name)
|
|||||||
char *value;
|
char *value;
|
||||||
|
|
||||||
/* need a tuple descriptor representing a single TEXT column */
|
/* need a tuple descriptor representing a single TEXT column */
|
||||||
tupdesc = CreateTemplateTupleDesc(1);
|
tupdesc = CreateTemplateTupleDesc(1, WITHOUTOID);
|
||||||
TupleDescInitEntry(tupdesc, (AttrNumber) 1, (char *) name,
|
TupleDescInitEntry(tupdesc, (AttrNumber) 1, (char *) name,
|
||||||
TEXTOID, -1, 0, false);
|
TEXTOID, -1, 0, false);
|
||||||
|
|
||||||
@ -2293,7 +2293,7 @@ ShowAllGUCConfig(void)
|
|||||||
char *values[2];
|
char *values[2];
|
||||||
|
|
||||||
/* need a tuple descriptor representing two TEXT columns */
|
/* need a tuple descriptor representing two TEXT columns */
|
||||||
tupdesc = CreateTemplateTupleDesc(2);
|
tupdesc = CreateTemplateTupleDesc(2, WITHOUTOID);
|
||||||
TupleDescInitEntry(tupdesc, (AttrNumber) 1, "name",
|
TupleDescInitEntry(tupdesc, (AttrNumber) 1, "name",
|
||||||
TEXTOID, -1, 0, false);
|
TEXTOID, -1, 0, false);
|
||||||
TupleDescInitEntry(tupdesc, (AttrNumber) 2, "setting",
|
TupleDescInitEntry(tupdesc, (AttrNumber) 2, "setting",
|
||||||
|
Reference in New Issue
Block a user