Skip to content

Commit

Permalink
remove out-of-date default argument for order by for pg15 support
Browse files Browse the repository at this point in the history
  • Loading branch information
olirice committed Dec 8, 2022
1 parent 1cf8afb commit 9509053
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bin/installcheck
Expand Up @@ -11,6 +11,8 @@ export PGDATABASE=postgres
export PGTZ=UTC
export PG_COLOR=auto

# PATH=~/.pgx/15.1/pgx-install/bin/:$PATH

####################
# Ensure Clean Env #
####################
Expand Down
2 changes: 1 addition & 1 deletion src/transpile.rs
Expand Up @@ -540,7 +540,7 @@ impl MutationEntrypoint<'_> for DeleteBuilder {

impl OrderByBuilder {
fn to_order_by_clause(&self, block_name: &str) -> String {
let mut frags = vec!["true".to_string()];
let mut frags = vec![];

for elem in &self.elems {
let quoted_column_name = quote_ident(&elem.column.name);
Expand Down

0 comments on commit 9509053

Please sign in to comment.