summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTom Lane2000-08-03 16:35:08 +0000
committerTom Lane2000-08-03 16:35:08 +0000
commitc298d74d4957845bb03a67092c30b53e5e0d01c2 (patch)
tree4dca901e87c14a249de21374da867db1059b8462 /contrib
parent1bd3a8f58bb8147628a85643b0246051a6e4e5ee (diff)
More functions updated to new fmgr style --- money, name, tid datatypes.
We're reaching the mopup stage here (good thing too, this is getting tedious).
Diffstat (limited to 'contrib')
-rw-r--r--contrib/spi/timetravel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/spi/timetravel.c b/contrib/spi/timetravel.c
index 92c2ba92cf1..cd50cd84890 100644
--- a/contrib/spi/timetravel.c
+++ b/contrib/spi/timetravel.c
@@ -368,7 +368,8 @@ set_timetravel(PG_FUNCTION_ARGS)
TTOff = malloc(sizeof(char *));
else
TTOff = realloc(TTOff, (nTTOff + 1) * sizeof(char *));
- s = rname = nameout(relname);
+ s = rname = DatumGetCString(DirectFunctionCall1(nameout,
+ NameGetDatum(relname)));
d = TTOff[nTTOff] = malloc(strlen(rname) + 1);
while (*s)
*d++ = tolower(*s++);