MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / pgDataDir

Function pgDataDir

cmd/sqlc-test-setup/main.go:125–127  ·  view source on GitHub ↗

pgDataDir returns the path to the PostgreSQL data directory.

()

Source from the content-addressed store, hash-verified

123
124// pgDataDir returns the path to the PostgreSQL data directory.
125func pgDataDir() string {
126 return filepath.Join(pgBaseDir(), "data")
127}
128
129// pgBin returns the full path to a PostgreSQL binary.
130func pgBin(name string) string {

Callers 1

startPostgreSQLFunction · 0.85

Calls 2

pgBaseDirFunction · 0.85
JoinMethod · 0.45

Tested by

no test coverage detected