mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
Upgrade to PyGreSQL (2.4)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: outfuncs.c,v 1.83 1999/05/18 21:34:28 tgl Exp $
|
||||
* $Id: outfuncs.c,v 1.84 1999/05/19 16:46:11 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Every (plan) node in POSTGRES has an associated "out" routine which
|
||||
@@ -1203,18 +1203,14 @@ _outDatum(StringInfo str, Datum value, Oid type)
|
||||
s = (char *) (&value);
|
||||
appendStringInfo(str, " %d [ ", length);
|
||||
for (i = 0; i < sizeof(Datum); i++)
|
||||
{
|
||||
appendStringInfo(str, " %d ", (int) (s[i]));
|
||||
}
|
||||
appendStringInfo(str, "] ");
|
||||
}
|
||||
else
|
||||
{ /* !byValue */
|
||||
s = (char *) DatumGetPointer(value);
|
||||
if (!PointerIsValid(s))
|
||||
{
|
||||
appendStringInfo(str, " 0 [ ] ");
|
||||
}
|
||||
else
|
||||
{
|
||||
/*
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/read.c,v 1.14 1999/02/13 23:16:01 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/read.c,v 1.15 1999/05/19 16:46:11 momjian Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* AUTHOR DATE MAJOR EVENT
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
/*
|
||||
* stringToNode -
|
||||
* returns a Node with a given legal ascii representation
|
||||
* returns a Node with a given legal ASCII representation
|
||||
*/
|
||||
void *
|
||||
stringToNode(char *str)
|
||||
|
||||
Reference in New Issue
Block a user