Skip to content

Commit

Permalink
postgresql
Browse files Browse the repository at this point in the history
  • Loading branch information
ikura-hamu committed Dec 8, 2024
1 parent 640a0f2 commit cf7a450
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/extproc/slp/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ type (
)

const (
dbTypeMySQL = "my"
dbTypePostgreSQL = "pg"
dbTypeMySQL = "my"
dbTypePostgreSQL = "pg"
)

func (p *processor) Cacheable() bool {
Expand All @@ -38,7 +38,7 @@ func (p *processor) Process(snapshot *collect.Snapshot) (io.ReadCloser, error) {
dbType = dbTypeMySQL
} else {
if strings.Contains(dbTypeEnv, "p") {
dbType = dbTypeMySQL
dbType = dbTypePostgreSQL
} else {
dbType = dbTypeMySQL
}
Expand Down

0 comments on commit cf7a450

Please sign in to comment.