Advertisement
Guest User

Untitled

a guest
Sep 1st, 2015
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. You are now connected to database "dujour" as user "wyatt".
  2. dujour=# select version,count(*) from (select distinct on (ip,version) version from checkins where product='puppetdb' and char_length(version)=5 and timestamp >= '2015-07-09') foo group by version order by version;
  3. version | count
  4. ---------+-------
  5. 1.0.0 | 1
  6. 1.0.1 | 2
  7. 1.0.2 | 4
  8. 1.0.4 | 1
  9. 1.0.5 | 13
  10. 1.1.0 | 6
  11. 1.1.1 | 27
  12. 1.2.0 | 26
  13. 1.3.0 | 9
  14. 1.3.1 | 9
  15. 1.3.2 | 45
  16. 1.4.0 | 20
  17. 1.5.0 | 33
  18. 1.5.2 | 121
  19. 1.6.0 | 19
  20. 1.6.2 | 639
  21. 1.6.3 | 228
  22. 2.0.0 | 190
  23. 2.1.0 | 113
  24. 2.2.0 | 166
  25. 2.2.1 | 20
  26. 2.2.2 | 1155
  27. 2.3.0 | 82
  28. 2.3.1 | 12
  29. 2.3.2 | 48
  30. 2.3.3 | 3075
  31. 2.3.4 | 476
  32. 2.3.5 | 1736
  33. 2.3.6 | 2588
  34. 2.3.7 | 1630
  35. 3.0.0 | 69
  36. 3.0.1 | 183
  37. 3.0.2 | 286
  38. 3.1.0 | 112
  39. (34 rows)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement