Re: Execute DDL across multiple servers in an automated manner

From: Melvin Davidson <melvin6925(at)gmail(dot)com>
To: Anderson Abreu <andersonabreu(at)gmail(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Execute DDL across multiple servers in an automated manner
Date: 2015-08-28 13:44:38
Message-ID: CANu8Fiz7n_APW=jk4zdOZjY8zJpu=mcgE-JJRnd9VdMMGhV_bQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In Linux, you can use Terminator

http://gnometerminator.blogspot.com/p/introduction.html

to execute a script simultaneously across multiple terminals.

Alternatively, you can write a script that loops through host connections
to execute the DDL.

On Fri, Aug 28, 2015 at 9:35 AM, Anderson Abreu <andersonabreu(at)gmail(dot)com>
wrote:

> Hi all,
>
> I use PostgreSQL 9.4
>
> I'm looking for some package/library/plugin to execute DDL across
> multiple servers in an automated manner.
>
> Can do this with shellscript.
>
> I would like to know if this is the only way?
>
>
> Thanks & Regards
>
>
> ---
>
> Anderson Abreu
> andersonabreu(at)gmail(dot)com
>
> "The judoka is what has: humility to learn what you teach, patience to
> teachwhat they learned to their fellow man and faith to believe in what you
> don't understand. Learn a little more every day and use it every day for
> the good "(Jigoro Kano)
>

--
*Melvin Davidson*
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2015-08-28 13:55:40 Re: Execute DDL across multiple servers in an automated manner
Previous Message Anderson Abreu 2015-08-28 13:35:01 Execute DDL across multiple servers in an automated manner