MCPcopy Create free account
hub / github.com/dolthub/doltgresql / NewDNameFromDString

Function NewDNameFromDString

postgres/parser/sem/tree/datum.go:2089–2091  ·  view source on GitHub ↗

NewDNameFromDString is a helper routine to create a *DName (implemented as a *DOidWrapper) initialized from an existing *DString.

(d *DString)

Source from the content-addressed store, hash-verified

2087// NewDNameFromDString is a helper routine to create a *DName (implemented as
2088// a *DOidWrapper) initialized from an existing *DString.
2089func NewDNameFromDString(d *DString) Datum {
2090 return wrapWithOid(d, oid.T_name)
2091}

Callers 1

ResolveAsTypeMethod · 0.85

Calls 1

wrapWithOidFunction · 0.85

Tested by

no test coverage detected