MCPcopy Create free account
hub / github.com/apecloud/myduckserver / DeleteSubscription

Function DeleteSubscription

pgserver/logrepl/subscription.go:121–124  ·  view source on GitHub ↗
(ctx *sql.Context, name string)

Source from the content-addressed store, hash-verified

119}
120
121func DeleteSubscription(ctx *sql.Context, name string) error {
122 _, err := adapter.ExecCatalogInTxn(ctx, catalog.InternalTables.PgSubscription.DeleteStmt(), name)
123 return err
124}
125
126func UpdateSubscriptionLsn(ctx *sql.Context, lsn, name string) error {
127 _, err := adapter.ExecCatalogInTxn(ctx, catalog.InternalTables.PgSubscription.UpdateStmt(keyColumns, lsnValueColumns), lsn, name)

Callers 1

executeDropMethod · 0.92

Calls 2

ExecCatalogInTxnFunction · 0.92
DeleteStmtMethod · 0.80

Tested by

no test coverage detected