Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

pg: fix typo.

spinningbot6b0e66452c21
diff --git a/plugin/db/pg/pg.go b/plugin/db/pg/pg.go
index 1fac327453..de12d5e826 100644
--- a/plugin/db/pg/pg.go
+++ b/plugin/db/pg/pg.go
@@ -1487,7 +1487,7 @@ func getIndices(txn *sql.Tx) ([]*indexSchema, error) {
for _, idx := range indices {
if err = getIndex(txn, idx); err != nil {
- return nil, fmt.Errorf("getPgView(%q, %q) got error %v", idx.schemaName, idx.name, err)
+ return nil, fmt.Errorf("getIndex(%q, %q) got error %v", idx.schemaName, idx.name, err)
}
}