projects
/
skytools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1618a62
)
sql/londiste: fix locale problem in londiste_merge test
author
Marko Kreen
<markokr@gmail.com>
Fri, 25 May 2012 13:32:26 +0000
(16:32 +0300)
committer
Marko Kreen
<markokr@gmail.com>
Fri, 25 May 2012 13:32:26 +0000
(16:32 +0300)
We want fixed sort order here to get quick overview of combinations.
Use 'name' type to get non-locale sorting.
Reported-By: Cédric Villemain
sql/londiste/sql/londiste_merge.sql
patch
|
blob
|
blame
|
history
diff --git
a/sql/londiste/sql/londiste_merge.sql
b/sql/londiste/sql/londiste_merge.sql
index 9df6b888975cac2ff0ce71a7e0bfc94820c3592b..fd037f13b2097aed012e9d411830e8c1f1c51d86 100644
(file)
--- a/
sql/londiste/sql/londiste_merge.sql
+++ b/
sql/londiste/sql/londiste_merge.sql
@@
-124,7
+124,7
@@
create function testmatrix(
returns setof record as $$
begin
for p1s, p2s, p3s in
- select p1.state
, p2.state, p3.stat
e
+ select p1.state
::name, p2.state::name, p3.state::nam
e
from states p1, states p2, states p3
where position('!' in p1.state) + position('!' in p2.state) + position('!' in p3.state) < 2
order by 1,2,3