Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
v0idpwn committed Aug 10, 2023
1 parent e179bcd commit 3d2e7f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ use pgmq_crate::query::{
};
use thiserror::Error;

extension_sql!("
extension_sql!(
"
CREATE TABLE IF NOT EXISTS public.pgmq_meta (
queue_name VARCHAR UNIQUE NOT NULL,
created_at TIMESTAMP WITH TIME ZONE DEFAULT (now() at time zone 'utc') NOT NULL
Expand All @@ -32,7 +33,9 @@ extension_sql!("
END;
$$ LANGUAGE plpgsql;
", name="pgmq_bootstrap");
",
name = "pgmq_bootstrap"
);

#[derive(Error, Debug)]
enum PgmqExtError {
Expand Down
4 changes: 2 additions & 2 deletions src/partition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ use pgrx::prelude::*;
use pgmq_crate::{
errors::PgmqError,
query::{
create_archive, create_index, grant_pgmon_queue, grant_pgmon_queue_seq,
insert_meta, PGMQ_SCHEMA, TABLE_PREFIX,
create_archive, create_index, grant_pgmon_queue, grant_pgmon_queue_seq, insert_meta,
PGMQ_SCHEMA, TABLE_PREFIX,
},
util::CheckedName,
};
Expand Down

0 comments on commit 3d2e7f2

Please sign in to comment.