check-from-v0.38.0-range.td 949 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Use of this software is governed by the Business Source License
  4. # included in the LICENSE file at the root of this repository.
  5. #
  6. # As of the Change Date specified in that file, in accordance with
  7. # the Business Source License, use of this software will be governed
  8. # by the Apache License, Version 2.0.
  9. > SELECT a::text AS t FROM int4range_view ORDER BY a;
  10. empty
  11. empty
  12. empty
  13. (,1)
  14. (,1)
  15. (,2)
  16. (,2)
  17. (,)
  18. (,)
  19. (,)
  20. (,)
  21. [-1,1)
  22. [-1,2)
  23. [0,1)
  24. [0,1)
  25. [0,2)
  26. [1,)
  27. [1,)
  28. [2,)
  29. [2,)
  30. > SELECT a::text AS t FROM int4range_view ORDER BY a;
  31. empty
  32. empty
  33. empty
  34. (,1)
  35. (,1)
  36. (,2)
  37. (,2)
  38. (,)
  39. (,)
  40. (,)
  41. (,)
  42. [-1,1)
  43. [-1,2)
  44. [0,1)
  45. [0,1)
  46. [0,2)
  47. [1,)
  48. [1,)
  49. [2,)
  50. [2,)
  51. > SELECT a::text AS t FROM daterange_view ORDER BY a;
  52. empty
  53. (,1970-01-01)
  54. (,1970-01-02)
  55. (,1970-01-02)
  56. (,)
  57. (,)
  58. (,)
  59. (,)
  60. (,)
  61. [1969-12-31,1970-01-01)
  62. [1969-12-31,1970-01-02)
  63. [1970-01-01,1970-01-02)
  64. [1970-01-01,)
  65. [1970-01-01,)
  66. [1970-01-02,)
  67. [1970-01-02,)