Skip to content

Commit

Permalink
More docs
Browse files Browse the repository at this point in the history
  • Loading branch information
i-am-tom committed Feb 15, 2024
1 parent 48cc5a0 commit 8da5bee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/connectors/ndc-postgres/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,11 @@ fn make_procedure_type(
let mut fields = BTreeMap::new();
let object_type_name = format!("{name}_response");

// If int4 doesn't exist anywhere else in the schema, we need to add it here. However, a user
// can't filter or aggregate based on the affected rows of a procedure, so we don't need to add
// any aggregate functions or comparison operators. However, if int4 exists elsewhere in the
// schema and has already been added, it will also already contain these functions and
// operators.
scalar_types
.entry("int4".to_string())
.or_insert(models::ScalarType {
Expand Down

0 comments on commit 8da5bee

Please sign in to comment.