Change quotes to bytes
This commit is contained in:
parent
9e6a3d5ee3
commit
419f2760c7
8 changed files with 18 additions and 31 deletions
bdb/drivers
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue