Re: Missing "New Node"
От | Andreas Pflug |
---|---|
Тема | Re: Missing "New Node" |
Дата | |
Msg-id | 42A83D51.9000804@pse-consulting.de обсуждение исходный текст |
Ответ на | Re: Missing "New Node" ("Dave Page" <dpage@vale-housing.co.uk>) |
Список | pgadmin-hackers |
Dave Page wrote: > > > >>-----Original Message----- >>From: Andreas Pflug [mailto:pgadmin@pse-consulting.de] >>Sent: 09 June 2005 12:38 >>To: Dave Page >>Cc: Christopher Kings-Lynne; pgadmin-hackers >>Subject: Re: Missing "New Node" >> >>I just quick'n'dirty added some new icons to distinguish own >>and foreign >>sets/subscriptions. This should be refactored some day, to >>use different >>classes. > > > OK. > > >>>Sounds reasonable - something definitely ain't right though. For >>>example, using the databases created by Slony's >> >>test_1_pgbench test, if >> >>>I browse the slony_test1 database (the origin), and go to >>>Replication/T1/Replication Sets/Set 1 - pgbench tables, I can >>>right-click and select New Object->Add [Table|Sequence]. >> >>However, if I >> >>>right-click the child sequences or Tables collection nodes, >> >>I only get >> >>>the Refresh option. Istm that I should get Add Sequence/Add Table on >>>those. >> >>Agreed. > > > You gonna fix that? I've still not completely got my head round that > code. > > >>>The same applies to the Subscriptions node on the >> >>slony_test2 database - >> >>>there is no Add Subscription option. There is one on the >> >>Set node (as >> >>>there is for Tables/Sequences on the origin), however this throws an >>>exception when selected. >> >>This can't possibly be a bug, no? ;-) > > > Err, yes. See previous comment :-) > > >>Bug, fixed in svn. All registered servers should appear. > > > OK, thanks. > > >>It might be necessary to add the admin node for your machine, >>as well as >>paths to the nodes. > > > How do I add an admin node? Add node with proper connstring. If I try to join the cluster (as opposed to > just adding a node), I now see the servers etc, but obviously no admin > node. available admin nodes are identified by matching conn strings. When I click OK, I get an exception and it all falls over. > > I'm still not entirely sure why the admin node is required - why can't > we just get the info from the connected database? Because quite often a cross-db connection is needed. I'll probably not find time to fix things in June, sorry. Regards, Andreas
В списке pgadmin-hackers по дате отправления: