Incorrect check in 037_except.pl? - Mailing list pgsql-hackers

From Fujii Masao
Subject Incorrect check in 037_except.pl?
Date
Msg-id CAHGQGwGfXUO7f4t6KNGurYwg6QsnLtpP0K3EACbAwYWtxGfKfQ@mail.gmail.com
Whole thread
Responses Re: Incorrect check in 037_except.pl?
List pgsql-hackers
Hi,

    $result =
      $node_publisher->safe_psql('postgres', "SELECT * FROM tab1 ORDER BY a");
    is( $result, qq(1
    2),
      "check replication of a table in the EXCEPT clause of one
publication but included by another"
    );

In 037_except.pl, this query is executed on the publisher. But,
if the intent is to verify that rows inserted on the publisher are
replicated to the subscriber, shouldn't this query be executed on
the subscriber instead? IOW, should "$node_publisher" here be
"$node_subscriber"? Or am I missing something?

Regards,

-- 
Fujii Masao



pgsql-hackers by date:

Previous
From: Ivan Kush
Date:
Subject: Re: [PATCH] Fix memory leak in pg_config
Next
From: "ZizhuanLiu X-MAN"
Date:
Subject: Re: support create index on virtual generated column.