Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Offer enabled nodes only
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.pgadmin.org/trunk@4509 a7884b65-44f6-0310-8a51-81a127f17b15
  • Loading branch information
Andreas Pflug committed Oct 5, 2005
1 parent 69139db commit a2c61fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/slony/dlgRepPath.cpp
Expand Up @@ -77,7 +77,7 @@ int dlgRepPath::Go(bool modal)
wxT(" FROM ") + cluster->GetSchemaPrefix() + wxT("sl_node\n")
wxT(" LEFT JOIN ") + cluster->GetSchemaPrefix() + wxT("sl_path ON pa_client=\n") + NumToStr(node->GetSlId()) +
wxT(" AND pa_server=no_id\n")
wxT(" WHERE pa_client IS NULL\n")
wxT(" WHERE no_active AND pa_client IS NULL\n")
wxT(" ORDER BY no_id")
);

Expand Down
2 changes: 1 addition & 1 deletion src/slony/dlgRepSubscription.cpp
Expand Up @@ -94,7 +94,7 @@ int dlgRepSubscription::Go(bool modal)
pgSet *sets = connection->ExecuteSet(
wxT("SELECT no_id, no_comment\n")
wxT(" FROM ") + cluster->GetSchemaPrefix() + wxT("sl_node\n")
wxT(" WHERE no_id <> ") + NumToStr(cluster->GetLocalNodeID()));
wxT(" WHERE no_active AND no_id <> ") + NumToStr(cluster->GetLocalNodeID()));

if (sets)
{
Expand Down

0 comments on commit a2c61fb

Please sign in to comment.