Skip to content

Commit de5a748

Browse files
Andrey Kazarinovdanolivo
Andrey Kazarinov
authored andcommitted
[PGPRO-7183] bring in line stable 13, 14, 15
Minor changes
1 parent e0f7994 commit de5a748

17 files changed

+148
-177
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ subdir = contrib/aqo
3434
top_builddir = ../..
3535
include $(top_builddir)/src/Makefile.global
3636
include $(top_srcdir)/contrib/contrib-global.mk
37-
endif
37+
endif

aqo.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
#include "postgres.h"
1212

13-
#include "aqo.h"
14-
1513
#include "access/relation.h"
1614
#include "access/table.h"
1715
#include "catalog/pg_extension.h"
@@ -377,7 +375,7 @@ _PG_init(void)
377375
*/
378376
AQOLearnMemCtx = AllocSetContextCreate(AQOTopMemCtx,
379377
"AQOLearnMemoryContext",
380-
ALLOCSET_DEFAULT_SIZES);
378+
ALLOCSET_DEFAULT_SIZES);
381379
RegisterResourceReleaseCallback(aqo_free_callback, NULL);
382380
RegisterAQOPlanNodeMethods();
383381

aqo.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ autovacuum = off
22
shared_preload_libraries = 'postgres_fdw, aqo'
33
max_parallel_maintenance_workers = 1 # switch off parallel workers because of unsteadiness
44
aqo.wide_search = 'on'
5-
compute_query_id = 'regress'
5+
compute_query_id = 'regress'

aqo.h

-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ extern int njoins;
225225
/* AQO Memory contexts */
226226
extern MemoryContext AQOTopMemCtx;
227227
extern MemoryContext AQOCacheMemCtx;
228-
extern MemoryContext AQOUtilityMemCtx;
229228
extern MemoryContext AQOPredictMemCtx;
230229
extern MemoryContext AQOLearnMemCtx;
231230

0 commit comments

Comments
 (0)