Skip to content

Commit

Permalink
fix(postgres): use permanent views to avoid connection pool defeat
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Jan 22, 2023
1 parent b6b4669 commit 49a4991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/backends/postgres/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@ def _get_temp_view_definition(
name: str,
definition: sa.sql.compiler.Compiled,
) -> str:
yield f"CREATE OR REPLACE TEMPORARY VIEW {name} AS {definition}"
yield f"CREATE OR REPLACE VIEW {name} AS {definition}"

0 comments on commit 49a4991

Please sign in to comment.