MCPcopy Create free account
hub / github.com/apache/cloudberry / PGTYPESinterval_new

Function PGTYPESinterval_new

src/interfaces/ecpg/pgtypeslib/interval.c:991–999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

989} /* tm2interval() */
990
991interval *
992PGTYPESinterval_new(void)
993{
994 interval *result;
995
996 result = (interval *) pgtypes_alloc(sizeof(interval));
997 /* result can be NULL if we run out of memory */
998 return result;
999}
1000
1001void
1002PGTYPESinterval_free(interval * intvl)

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls 1

pgtypes_allocFunction · 0.85

Tested by 2

mainFunction · 0.68
mainFunction · 0.68