mirror of
https://github.com/supabase/supabase.git
synced 2026-05-06 22:18:00 +08:00
fix: remove duplicate archive function from pgmq_public (#32942)
remove duplicate archive function
This commit is contained in:
@@ -104,26 +104,6 @@ $$;
|
||||
comment on function ${QUEUES_SCHEMA}.archive(queue_name text, message_id bigint) is 'Archives a message by moving it from the queue to a permanent archive.';
|
||||
|
||||
|
||||
create or replace function ${QUEUES_SCHEMA}.archive(
|
||||
queue_name text,
|
||||
message_id bigint
|
||||
)
|
||||
returns boolean
|
||||
language plpgsql
|
||||
set search_path = ''
|
||||
as $$
|
||||
begin
|
||||
return
|
||||
pgmq.archive(
|
||||
queue_name := queue_name,
|
||||
msg_id := message_id
|
||||
);
|
||||
end;
|
||||
$$;
|
||||
|
||||
comment on function ${QUEUES_SCHEMA}.archive(queue_name text, message_id bigint) is 'Archives a message by moving it from the queue to a permanent archive.';
|
||||
|
||||
|
||||
create or replace function ${QUEUES_SCHEMA}.delete(
|
||||
queue_name text,
|
||||
message_id bigint
|
||||
|
||||
Reference in New Issue
Block a user