MCPcopy
hub / github.com/PeerDB-io/peerdb / PostgresUpstream

Struct PostgresUpstream

flow/switchboard/upstream_postgres.go:54–59  ·  view source on GitHub ↗

PostgresUpstream implements Upstream for PostgreSQL databases

Source from the content-addressed store, hash-verified

52
53// PostgresUpstream implements Upstream for PostgreSQL databases
54type PostgresUpstream struct {
55 conn *connpostgres.PostgresConnector
56 secret []byte
57 pid uint32
58 readOnly bool
59}
60
61// NewPostgresUpstream creates a new PostgreSQL upstream connection
62func NewPostgresUpstream(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected