Skip to content

Commit

Permalink
fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Feb 10, 2024
1 parent 311da5f commit ec4a5f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flow/cmd/peer_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ func (h *FlowRequestHandler) GetColumns(
pg_constraint ON pg_attribute.attrelid = pg_constraint.conrelid
AND pg_attribute.attnum = ANY(pg_constraint.conkey)
WHERE
relname = $1
relnamespace::regnamespace::text = $1
AND
relname = $2
AND pg_attribute.attnum > 0
ORDER BY
attnum;
Expand Down

0 comments on commit ec4a5f2

Please sign in to comment.