mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	There's a fair amount of information in the Plan and PlanState trees that isn't printed by any existing EXPLAIN option. This means that, when working on the planner, it's often necessary to rely on facilities such as debug_print_plan, which produce excessively voluminous output. Hence, use the new EXPLAIN extension facilities to implement EXPLAIN (DEBUG) and EXPLAIN (RANGE_TABLE) as extensions to the core EXPLAIN facility. A great deal more could be done here, and the specific choices about what to print and how are definitely arguable, but this is at least a starting point for discussion and a jumping-off point for possible future improvements. Reviewed-by: Sami Imseih <samimseih@gmail.com> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reviweed-by: Andrei Lepikhov <lepihov@gmail.com> (who didn't like it) Discussion: http://postgr.es/m/CA+TgmoZfvQUBWQ2P8iO30jywhfEAKyNzMZSR+uc2xr9PZBw6eQ@mail.gmail.com
		
			
				
	
	
		
			22 lines
		
	
	
		
			451 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			451 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| # contrib/pg_overexplain/Makefile
 | |
| 
 | |
| MODULE_big = pg_overexplain
 | |
| OBJS = \
 | |
| 	$(WIN32RES) \
 | |
| 	pg_overexplain.o
 | |
| 
 | |
| PGFILEDESC = "pg_overexplain - allow EXPLAIN to dump even more details"
 | |
| 
 | |
| REGRESS = pg_overexplain
 | |
| 
 | |
| ifdef USE_PGXS
 | |
| PG_CONFIG = pg_config
 | |
| PGXS := $(shell $(PG_CONFIG) --pgxs)
 | |
| include $(PGXS)
 | |
| else
 | |
| subdir = contrib/pg_overexplain
 | |
| top_builddir = ../..
 | |
| include $(top_builddir)/src/Makefile.global
 | |
| include $(top_srcdir)/contrib/contrib-global.mk
 | |
| endif
 |