diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-05-30 04:25:00 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-05-30 04:25:00 +0000 |
commit | 0f1e39643de655f5103b09d5a82cadbf26a965c1 (patch) | |
tree | 32fa30338e5065afbc28df7dae4c2d2a0bce1569 /src/backend/libpq/be-dumpdata.c | |
parent | a12a23f0d03cc8bf22c6c38bc2394753ec34fcdf (diff) |
Third round of fmgr updates: eliminate calls using fmgr() and
fmgr_faddr() in favor of new-style calls. Lots of cleanup of
sloppy casts to use XXXGetDatum and DatumGetXXX ...
Diffstat (limited to 'src/backend/libpq/be-dumpdata.c')
-rw-r--r-- | src/backend/libpq/be-dumpdata.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/backend/libpq/be-dumpdata.c b/src/backend/libpq/be-dumpdata.c index fcc63e1e2a0..8bcb77f98e0 100644 --- a/src/backend/libpq/be-dumpdata.c +++ b/src/backend/libpq/be-dumpdata.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: be-dumpdata.c,v 1.33 2000/04/12 17:15:14 momjian Exp $ + * $Id: be-dumpdata.c,v 1.34 2000/05/30 04:24:46 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -306,8 +306,10 @@ be_printtup(HeapTuple tuple, TupleDesc typeinfo, DestReceiver *self) } if (!isnull && OidIsValid(typoutput)) - values[i] = fmgr(typoutput, attr, typelem, - typeinfo->attrs[i]->atttypmod); + values[i] = DatumGetCString(OidFunctionCall3(typoutput, + attr, + ObjectIdGetDatum(typelem), + Int32GetDatum(typeinfo->attrs[i]->atttypmod))); else values[i] = NULL; |