mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-02 14:39:55 +02:00
quotes for schema and table
This commit is contained in:
@@ -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, ", ")
|
||||
|
||||
Reference in New Issue
Block a user