diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-24 21:16:45 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-24 21:16:45 +0000 |
commit | f690920a752fa8e59dc9536dd14194b2141163d2 (patch) | |
tree | 0fdd5e79110455c7857783e04f2d716c2a6a0c52 /src/backend/utils/adt/ruleutils.c | |
parent | a91c5be6a47349d87068680c80839aae76304285 (diff) | |
download | postgresql-f690920a752fa8e59dc9536dd14194b2141163d2.tar.gz postgresql-f690920a752fa8e59dc9536dd14194b2141163d2.zip |
Infrastructure for upgraded error reporting mechanism. elog.c is
rewritten and the protocol is changed, but most elog calls are still
elog calls. Also, we need to contemplate mechanisms for controlling
all this functionality --- eg, how much stuff should appear in the
postmaster log? And what API should libpq expose for it?
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
-rw-r--r-- | src/backend/utils/adt/ruleutils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/adt/ruleutils.c b/src/backend/utils/adt/ruleutils.c index 31135ff97fb..581c5b20ecf 100644 --- a/src/backend/utils/adt/ruleutils.c +++ b/src/backend/utils/adt/ruleutils.c @@ -3,7 +3,7 @@ * back to source text * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.138 2003/04/08 23:20:02 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.139 2003/04/24 21:16:43 tgl Exp $ * * This software is copyrighted by Jan Wieck - Hamburg. * @@ -921,7 +921,7 @@ pg_get_constraintdef(PG_FUNCTION_ARGS) constraintId); /* Append the constraint source */ - appendStringInfo(&buf, DatumGetCString(DirectFunctionCall1(textout, val))); + appendStringInfoString(&buf, DatumGetCString(DirectFunctionCall1(textout, val))); break; } @@ -2846,7 +2846,7 @@ get_const_expr(Const *constval, deparse_context *context) */ if (strspn(extval, "0123456789+-eE.") == strlen(extval)) { - appendStringInfo(buf, extval); + appendStringInfoString(buf, extval); if (strcspn(extval, "eE.") != strlen(extval)) isfloat = true; /* it looks like a float */ } |