Appendix E. Release Notes

Table of Contents
E.1. Release 8.1.3
E.2. Release 8.1.2
E.3. Release 8.1.1
E.4. Release 8.1
E.5. Release 8.0.7
E.6. Release 8.0.6
E.7. Release 8.0.5
E.8. Release 8.0.4
E.9. Release 8.0.3
E.10. Release 8.0.2
E.11. Release 8.0.1
E.12. Release 8.0
E.13. Release 7.4.12
E.14. Release 7.4.11
E.15. Release 7.4.10
E.16. Release 7.4.9
E.17. Release 7.4.8
E.18. Release 7.4.7
E.19. Release 7.4.6
E.20. Release 7.4.5
E.21. Release 7.4.4
E.22. Release 7.4.3
E.23. Release 7.4.2
E.24. Release 7.4.1
E.25. Release 7.4
E.26. Release 7.3.14
E.27. Release 7.3.13
E.28. Release 7.3.12
E.29. Release 7.3.11
E.30. Release 7.3.10
E.31. Release 7.3.9
E.32. Release 7.3.8
E.33. Release 7.3.7
E.34. Release 7.3.6
E.35. Release 7.3.5
E.36. Release 7.3.4
E.37. Release 7.3.3
E.38. Release 7.3.2
E.39. Release 7.3.1
E.40. Release 7.3
E.41. Release 7.2.8
E.42. Release 7.2.7
E.43. Release 7.2.6
E.44. Release 7.2.5
E.45. Release 7.2.4
E.46. Release 7.2.3
E.47. Release 7.2.2
E.48. Release 7.2.1
E.49. Release 7.2
E.50. Release 7.1.3
E.51. Release 7.1.2
E.52. Release 7.1.1
E.53. Release 7.1
E.54. Release 7.0.3
E.55. Release 7.0.2
E.56. Release 7.0.1
E.57. Release 7.0
E.58. Release 6.5.3
E.59. Release 6.5.2
E.60. Release 6.5.1
E.61. Release 6.5
E.62. Release 6.4.2
E.63. Release 6.4.1
E.64. Release 6.4
E.65. Release 6.3.2
E.66. Release 6.3.1
E.67. Release 6.3
E.68. Release 6.2.1
E.69. Release 6.2
E.70. Release 6.1.1
E.71. Release 6.1
E.72. Release 6.0
E.73. Release 1.09
E.74. Release 1.02
E.75. Release 1.01
E.76. Release 1.0
E.77. Postgres95 Release 0.03
E.78. Postgres95 Release 0.02
E.79. Postgres95 Release 0.01

E.1. Release 8.1.3

Release date: 2006-02-14

This release contains a variety of fixes from 8.1.2, including one very serious security issue.

E.1.1. Migration to version 8.1.3

A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, see the release notes for 8.1.2.

E.1.2. Changes

  • Fix bug that allowed any logged-in user to SET ROLE to any other database user id (CVE-2006-0553)

    Due to inadequate validity checking, a user could exploit the special case that SET ROLE normally uses to restore the previous role setting after an error. This allowed ordinary users to acquire superuser status, for example. The escalation-of-privilege risk exists only in 8.1.0-8.1.2. However, in all releases back to 7.3 there is a related bug in SET SESSION AUTHORIZATION that allows unprivileged users to crash the server, if it has been compiled with Asserts enabled (which is not the default). Thanks to Akio Ishida for reporting this problem.

  • Fix bug with row visibility logic in self-inserted rows (Tom)

    Under rare circumstances a row inserted by the current command could be seen as already valid, when it should not be. Repairs bug created in 8.0.4, 7.4.9, and 7.3.11 releases.

  • Fix race condition that could lead to "file already exists" errors during pg_clog and pg_subtrans file creation (Tom)

  • Fix cases that could lead to crashes if a cache-invalidation message arrives at just the wrong time (Tom)

  • Properly check DOMAIN constraints for UNKNOWN parameters in prepared statements (Neil)

  • Ensure ALTER COLUMN TYPE will process FOREIGN KEY, UNIQUE, and PRIMARY KEY constraints in the proper order (Nakano Yoshihisa)

  • Fixes to allow restoring dumps that have cross-schema references to custom operators or operator classes (Tom)

  • Allow pg_restore to continue properly after a COPY failure; formerly it tried to treat the remaining COPY data as SQL commands (Stephen Frost)

  • Fix pg_ctl unregister crash when the data directory is not specified (Magnus)

  • Fix libpq PQprint HTML tags (Christoph Zwerschke)

  • Fix ecpg crash on AMD64 and PPC (Neil)

  • Allow SETOF and %TYPE to be used together in function result type declarations

  • Recover properly if error occurs during argument passing in PL/python (Neil)

  • Fix memory leak in plperl_return_next (Neil)

  • Fix PL/perl's handling of locales on Win32 to match the backend (Andrew)

  • Various optimizer fixes (Tom)

  • Fix crash when log_min_messages is set to DEBUG3 or above in postgresql.conf on Win32 (Bruce)

  • Fix pgxs -L library path specification for Win32, Cygwin, OS X, AIX (Bruce)

  • Check that SID is enabled while checking for Win32 admin privileges (Magnus)

  • Properly reject out-of-range date inputs (Kris Jurka)

  • Portability fix for testing presence of finite and isinf during configure (Tom)

  • Improve speed of COPY IN via libpq, by avoiding a kernel call per data line (Alon Goldshuv)

  • Improve speed of /contrib/tsearch2 index creation (Teodor)