mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-04 08:01:52 +02:00
sync publication with debug messages
This commit is contained in:
@@ -633,7 +633,7 @@ func (c *Cluster) executeAlterPublication(pubName, tableList string) error {
|
||||
|
||||
func (c *Cluster) execCreateOrAlterPublication(pubName, tableList, statement, doing, operation string) error {
|
||||
|
||||
c.logger.Infof("%s %q with table list %q", doing, pubName, tableList)
|
||||
c.logger.Debugf("%s %q with table list %q", doing, pubName, tableList)
|
||||
if _, err := c.pgDb.Exec(fmt.Sprintf(statement, pubName, tableList)); err != nil {
|
||||
return fmt.Errorf("could not execute %s: %v", operation, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user