git.postgresql.org Git - postgresql.git/commit
2011年4月16日 20:39:50 +0000 (16:39 -0400)
2011年4月16日 20:40:42 +0000 (16:40 -0400)
commit 121f49a00e432ee9cfad7270d99504350cd1015f
Clean up collation processing in prepunion.c.
This area was a few bricks shy of a load, and badly under-commented too.
We have to ensure that the generated targetlist entries for a set-operation
node expose the correct collation for each entry, since higher-level
processing expects the tlist to reflect the true ordering of the plan's
output.
This hackery wouldn't be necessary if SortGroupClause carried collation
info ... but making it do so would inject more pain in the parser than
would be saved here. Still, we might want to rethink that sometime.
This is the main PostgreSQL git repository.
RSS
Atom