quotes for schema and table
This commit is contained in:
parent
179fcb1126
commit
eb51428a44
|
|
@ -141,7 +141,8 @@ func (c *Cluster) syncPostgresConfig() error {
|
|||
tableNames := make([]string, len(tables))
|
||||
i := 0
|
||||
for t := range tables {
|
||||
tableNames[i] = fmt.Sprintf("%q", t)
|
||||
tableName, schemaName := getTableSchema(t)
|
||||
tableNames[i] = fmt.Sprintf("%q.%q", schemaName, tableName)
|
||||
i++
|
||||
}
|
||||
tableList := strings.Join(tableNames, ", ")
|
||||
|
|
|
|||
Loading…
Reference in New Issue