Change quotes to bytes

This commit is contained in:
Patrick O'brien 2016-09-10 03:30:46 +10:00
parent 9e6a3d5ee3
commit 419f2760c7
8 changed files with 18 additions and 31 deletions
bdb/drivers

View file

@ -342,13 +342,13 @@ func psqlIsValidated(typ string) bool {
}
// RightQuote is the quoting character for the right side of the identifier
func (p *PostgresDriver) RightQuote() string {
return `"`
func (p *PostgresDriver) RightQuote() byte {
return '"'
}
// LeftQuote is the quoting character for the left side of the identifier
func (p *PostgresDriver) LeftQuote() string {
return `"`
func (p *PostgresDriver) LeftQuote() byte {
return '"'
}
// IndexPlaceholders returns true to indicate PSQL supports indexed placeholders