Question about my list of databases in pgAdmin

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Question about my list of databases in pgAdmin

Postby Cian » Tue Jun 16, 2009 7:03 am

I have been following the back up guide for backing up a PostgreSQL database as I want to format my computer. On the step by step guide, this step shows only one database sub group in the pgadmin window, whereas my pgadmin window shows several (a screenshot is here. I'm just wondering which database I should be backing up, and why my window shows more entries than what is shown in the guide?

Thanks
Cian
 
Posts: 20
Joined: Sun Nov 09, 2008 12:09 pm

Re: Question about my list of databases in pgAdmin

Postby kraada » Tue Jun 16, 2009 9:26 am

It looks like you just added a second connection to your local server. Both copies of "PT3 DB" should be identical (since the connection is to the same computer on the same port), and it's that one you want to back up (but it doesn't matter which you pick).
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Question about my list of databases in pgAdmin

Postby Cian » Tue Jun 16, 2009 9:28 am

kraada wrote:It looks like you just added a second connection to your local server. Both copies of "PT3 DB" should be identical (since the connection is to the same computer on the same port), and it's that one you want to back up (but it doesn't matter which you pick).


Thanks, that's right both files are equal in size. (23mb)

cheers
Cian
 
Posts: 20
Joined: Sun Nov 09, 2008 12:09 pm

Re: Question about my list of databases in pgAdmin

Postby mikew » Tue Jun 16, 2009 2:45 pm

I have recently leanred that pgAdmin will remember all your postgres installations. i think it saves them in the registry or somtehing. I have installed and uninstalled pg 8.2, 8.3.4, 8.3.7 and pgAdmin still shows all of them. But as kraada says, since they all read localhost:5432, it will only connect to the one you have installed, so all should report the same dbs
mikew
 
Posts: 56
Joined: Sat Jan 03, 2009 12:41 am

Re: Question about my list of databases in pgAdmin

Postby Misanthrope » Sat Jul 04, 2009 4:56 pm

With regard to the multiple server connections, will this slow down the computer's usage or postgres' overall performance? Is it ok to delete one of them, or could this cause problems?
Misanthrope
 
Posts: 12
Joined: Sun Apr 27, 2008 1:31 am

Re: Question about my list of databases in pgAdmin

Postby WhiteRider » Sat Jul 04, 2009 5:32 pm

As long as you only have one version of the postgres service running then it shouldn't affect performance.
If you don't have any old databases you haven't backed up then it should be fine to uninstall, though. (if you created a database in 8.2 you won't be able to use it directly in 8.3, you'd need to backup in 8.2 before uninstalling 8.2 and restore in 8.3.)
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 36 guests

cron
highfalutin