Skip to content

Commit

Permalink
include template1 database in extension db list (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend committed May 10, 2024
1 parent 696a8cb commit 5c5a3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tembo-operator/src/extensions/database_queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub fn check_input(input: &str) -> bool {
pub const LIST_SHARED_PRELOAD_LIBRARIES_QUERY: &str = r#"SHOW shared_preload_libraries;"#;

pub const LIST_DATABASES_QUERY: &str =
r#"SELECT datname FROM pg_database WHERE datistemplate = false;"#;
r#"SELECT datname FROM pg_database WHERE datname != 'template0';"#;

pub const LIST_EXTENSIONS_QUERY: &str = r#"select
distinct on
Expand Down

0 comments on commit 5c5a3f4

Please sign in to comment.