For adding or editing rows use PgSqlDataAdapter or PgSqlDataTable components. Fill it with a valid select statement and press "Preview..." button.
For master/detail grid use two PgSqlDataTable components. Fill both with select statements. In the child one fill ParentRelation property.
That's it.