Skip to content

Commit

Permalink
fix: syntax error when getting column schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
dejii authored Nov 27, 2024
1 parent 30bb8d7 commit e03c6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pg_replicate/src/clients/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ impl ReplicationClient {
a.atttypid,
a.atttypmod,
a.attnotnull,
coalesce(i.indisprimary, false) primary
coalesce(i.indisprimary, false) as primary
from pg_attribute a
left join pg_index i
on a.attrelid = i.indrelid
Expand Down

0 comments on commit e03c6fa

Please sign in to comment.