Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
passcod committed Jan 15, 2025
1 parent 3b01670 commit 66611f5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pg_replicate/src/clients/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,17 +153,15 @@ impl ReplicationClient {
and r.prrelid = {table_id}
)"
),
format!(
"and (
case (select count(*) from pub_attrs)
when 0 then true
else (a.attnum in (select * from pub_attrs))
end
)"
),
)
} else {
("".into(), "".into())
("".into(), "")
};

let column_info_query = format!(
Expand Down

0 comments on commit 66611f5

Please sign in to comment.