Comments (4)
it seems that postgres files have to be changed like in
https://github.com/bitnine-oss/agens-sql/blob/master/agens_windows/postgresql-9.4.4_win/src/include/optimizer/paths.h
where
extern bool enable_geqo;
extern int geqo_threshold;
has been modified into
extern PGDLLIMPORT bool enable_geqo;
extern PGDLLIMPORT int geqo_threshold;
to support windows builds
this has to be applyed to
src/include/optimizer/paths.h
geqo_threshold
enable_geqo
min_parallel_index_scan_size
min_parallel_table_scan_size
src/include/optimizer/cost.h
max_parallel_workers_per_gather
enable_hashjoin
enable_mergejoin
enable_nestloop
enable_indexonlyscan
enable_tidscan
enable_bitmapscan
enable_indexscan
enable_seqscan
disable_cost
src/include/utils/guc.h
application_name
src/include/miscadmin.h
max_worker_processes
would it be possible to create a patch for pg core
as done here
https://www.postgresql.org/message-id/CAJCy68fscdNhmzFPS4kyO00CADkvXvEa-28H-OtENk-pa2OTWw%40mail.gmail.com
Regards
PAscal
from pg_hint_plan.
this has been asked to pg commiters
http://www.postgresql-archive.org/Add-PGDLLIMPORT-to-enable-hashagg-td6004487.html
Regards
PAscal
from pg_hint_plan.
Fixed in pg11
http://www.postgresql-archive.org/pgsql-Mark-assorted-GUC-variables-as-PGDLLIMPORT-tp6005257.html
from pg_hint_plan.
Fix also Backported to 10 ans 9.6 releases
from pg_hint_plan.
Related Issues (20)
- Instability of pg_hint_plan.sql test in PG16 + master on a slow box (or when testing with valgrind). HOT 1
- SIGABRT when the parse_messages parameter equals to error. HOT 1
- Regression with Parallel hints combined with removal of indexes in Index hints HOT 10
- enable_self_join_removal in 17 breaks regression tests that use self-joins HOT 1
- Is it possible to inject each operator's cardinality by hint 'Rows' ? HOT 1
- Scan and Join hints do not work as expected HOT 6
- Installation of pg_hint_plan failed for Enterprise DB 14.x HOT 4
- pg_hint_plan whether support for hints for group by method(hash/sort)? HOT 1
- make hint relname comparison case insensitive HOT 1
- Tolerating preceding single-line comments HOT 3
- Hint to use a Nested Loop Semi Join HOT 1
- Improved repository description? HOT 9
- Cant get normalized text to work with pg plan hint HOT 2
- Maskout script doesn't work on macOS HOT 2
- Hint table doesn't seem to have effect on query plans HOT 7
- Hints do not work on subqueries with DISTINCT
- Next release of pg_hint_plan with PostgreSQL 17 compatibility HOT 27
- Query Errors if pg_hint_plan.enable_hint_table and enable_hint is enabled but hints table does not exist HOT 15
- Discrepancy in the costs of prepared operators depending on the architecture of the system HOT 3
- leading hint + join methods hint cannot totally force the join order. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pg_hint_plan.