Thread: Add Server in PgAdmin 3

Add Server in PgAdmin 3

From
Ajendra Dubey
Date:
Hi Sir/Madam,

I am using PostgreSQL 8.4 and PgAdmin 3 for 1 project. I am using silent installation of PostgreSQL 8.4. In this, we are not getting database list or no server will be added while using silent install. Is there any command which we can use to add server in PgAdmin because my database is not working until we add server in PgAdmin.

Please help me in this regard urgently so I can use that command to add server in silent mode only.

Thanks & Regards

Ajendra Dubey 

Re: Add Server in PgAdmin 3

From
Guillaume Lelarge
Date:
On Mon, 2012-07-02 at 17:50 +0530, Ajendra Dubey wrote:
> Hi Sir/Madam,
>
> I am using PostgreSQL 8.4 and PgAdmin 3 for 1 project. I am using silent
> installation of PostgreSQL 8.4. In this, we are not getting database list
> or no server will be added while using silent install. Is there any command
> which we can use to add server in PgAdmin because my database is not
> working until we add server in PgAdmin.
>

Menu File/Add a server.


--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com


Re: Add Server in PgAdmin 3

From
Guillaume Lelarge
Date:
Please, answer to the list, not me specifically.

On Tue, 2012-07-03 at 15:38 +0530, Ajendra Dubey wrote:
> Hi,
>
>
> I want to add it by command line only, like when we install PostgreSQL
> from GUI installer, a server is automatically added there namely
> PostgreSQL 8.4 and a database is also there namely postgres. I need
> that option, when I install PostgreSQL silently then a server will
> also add and corresponding databases will reflect in PgAdmin.
>

Well, you either need to add some registry entries if you're on Windows
or you need to add some lines to the .pgadmin3 file on Linux. Not sure
if this is the same with Mac OS X, but you should better look at the
source file to do this.


--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com


Re: Add Server in PgAdmin 3

From
Ajendra Dubey
Date:

 Hi,

 I want to add it by command line only, like when we install PostgreSQL from GUI installer, a server is automatically added there namely PostgreSQL 8.4 and a database is also there namely postgres. I need that option, when I install PostgreSQL silently then a server will also add and corresponding databases will reflect in PgAdmin.

Regards
Ajendra Dubey

Re: Add Server in PgAdmin 3

From
Guillaume Lelarge
Date:
On Wed, 2012-07-04 at 11:43 +0530, Ajendra Dubey wrote:
> Hi,
>
>  I want to add it by command line only

You cannot. pgAdmin doesn't offer this feature. Unless you want to work
on a patch to add this.


--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com