mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-24 01:29:19 +03:00 
			
		
		
		
	>>Sounds like all that's needed for your case. But to be complete, in >>addition to changing tablefunc.c we'd have to: >>1) come up with a new function call signature that makes sense and does >>not cause backward compatibility problems for other people >>2) make needed changes to tablefunc.sql.in >>3) adjust the README.tablefunc appropriately >>4) adjust the regression test for new functionality >>5) be sure we don't break any of the old cases >> >>If you want to submit a complete patch, it would be gratefully accepted >>-- for review at least ;-) > > Here's the patch, at least for steps 1-3 Nabil Sayegh Joe Conway
		
			
				
	
	
		
			10 lines
		
	
	
		
			106 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			106 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| row1	\N	0
 | |
| row2	row1	0
 | |
| row3	row1	0
 | |
| row4	row2	1
 | |
| row5	row2	0
 | |
| row6	row4	0
 | |
| row7	row3	0
 | |
| row8	row6	0
 | |
| row9	row5	0
 |