1 /*-------------------------------------------------------------------------
4 * implementation of value nodes
7 * Copyright (c) 2003-2025, PostgreSQL Global Development Group
11 * src/backend/nodes/value.c
13 *-------------------------------------------------------------------------
17 #include "nodes/value.h"
25 Integer
*v
= makeNode(Integer
);
34 * Caller is responsible for passing a palloc'd string.
37 makeFloat(char *numericStr
)
39 Float
*v
= makeNode(Float
);
51 Boolean
*v
= makeNode(Boolean
);
60 * Caller is responsible for passing a palloc'd string.
65 String
*v
= makeNode(String
);
74 * Caller is responsible for passing a palloc'd string.
77 makeBitString(char *str
)
79 BitString
*v
= makeNode(BitString
);