1 /*-------------------------------------------------------------------------
4 * implementation of Value nodes
7 * Portions Copyright (c) 2003-2008, PgPool Global Development Group
8 * Copyright (c) 2003-2005, PostgreSQL Global Development Group
12 * $PostgreSQL: pgsql/src/backend/nodes/value.c,v 1.2 2005/01/01 20:44:15 tgl Exp $
14 *-------------------------------------------------------------------------
16 /*#include "postgres.h"*/
19 #include "pool_memory.h"
20 #include "parsenodes.h"
28 Value *v = makeNode(Value);
38 * Caller is responsible for passing a palloc'd string.
41 makeFloat(char *numericStr)
43 Value *v = makeNode(Value);
46 v->val.str = numericStr;
53 * Caller is responsible for passing a palloc'd string.
58 Value *v = makeNode(Value);
68 * Caller is responsible for passing a palloc'd string.
71 makeBitString(char *str)
73 Value *v = makeNode(Value);
75 v->type = T_BitString;