Skip to content

PostgreSQL 1.3.0

Choose a tag to compare

@tanner0101 tanner0101 released this 26 Feb 19:54
· 10 commits to 1 since this release

Fixed:

  • PostgreSQLPoint now encodes and decodes endianness correctly. (#125, #126)

⚠️ If you were using PostgreSQLPoint prior to this patch, your database may be storing point columns with flipped endianness. After this patch, points will be fetched and saved using the correct format, meaning old values may now be flipped. Use the following helper method to flip PostgreSQLPoint endianness.

let x = PostgreSQLPoint(x: 3.14, y: -42).endiannessflipped()
print(x)