From 62a00aa3ec2140957f2349ec6ecb4c968a376031 Mon Sep 17 00:00:00 2001 From: Iris Diana Yu Date: Wed, 12 Jun 2024 09:25:24 +0100 Subject: [PATCH] Do not set work mem --- postgres_routines/04-build_pk.sql.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres_routines/04-build_pk.sql.template b/postgres_routines/04-build_pk.sql.template index 79cfb62..ae68b55 100644 --- a/postgres_routines/04-build_pk.sql.template +++ b/postgres_routines/04-build_pk.sql.template @@ -3,6 +3,6 @@ to be used as partition NOTICE: the constraint name is _pk */ -SET maintenance_work_mem='2GB'; + alter table scxa_analytics_ add constraint scxa_analytics__pk PRIMARY KEY (gene_id, experiment_accession, cell_id); RESET maintenance_work_mem;