(name string)
| 630 | } |
| 631 | |
| 632 | func (s *PostgresStore) fullTableName(name string) string { |
| 633 | if strings.TrimSpace(s.cfg.Schema) == "" { |
| 634 | return quoteIdentifier(name) |
| 635 | } |
| 636 | return quoteIdentifier(s.cfg.Schema) + "." + quoteIdentifier(name) |
| 637 | } |
| 638 | |
| 639 | func quoteIdentifier(identifier string) string { |
| 640 | replaced := strings.ReplaceAll(identifier, "\"", "\"\"") |
no test coverage detected