-
-
Couldn't load subscription status.
- Fork 69
Comparing changes
Open a pull request
base repository: vapor/postgres-kit
base: main
head repository: vapor/postgres-kit
compare: 1
- 18 commits
- 20 files changed
- 7 contributors
Commits on Feb 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3cfe6fc - Browse repository at this point
Copy the full SHA 3cfe6fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7c4e6f - Browse repository at this point
Copy the full SHA a7c4e6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49de70b - Browse repository at this point
Copy the full SHA 49de70bView commit details -
Merge pull request #121 from vapor/nio-ssl-fix
add nio ssl as explicit dep
Configuration menu - View commit details
-
Copy full SHA for cbe5505 - Browse repository at this point
Copy the full SHA cbe5505View commit details
Commits on Feb 19, 2019
-
Fix a retain cycle in PostgreSQLConnection (#116)
By adding a handler that retains self on the channel's close future, the connection gets retained until the channel is closed. We break the retain cycle by using a weak reference to self. The completion handler in `send(:onResponse:)` is enough to ensure that the connection stays alive while a message is sent to the server.
Configuration menu - View commit details
-
Copy full SHA for 9f706b5 - Browse repository at this point
Copy the full SHA 9f706b5View commit details -
Fix empty keyed encoding (#123)
* Add test for empty keyed encoding * Replace _KeyedError with a flag that is set as soon as a keyed container is requested The encoder will fallback to JSONB using JSONEncoder even if the encoded type does not encode any key.
Configuration menu - View commit details
-
Copy full SHA for d34cf72 - Browse repository at this point
Copy the full SHA d34cf72View commit details
Commits on Feb 26, 2019
-
* psql point endianness, fixes #125 * add test to allTests * fix allTests
Configuration menu - View commit details
-
Copy full SHA for faf37ff - Browse repository at this point
Copy the full SHA faf37ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4388d3c - Browse repository at this point
Copy the full SHA 4388d3cView commit details
Commits on Mar 1, 2019
-
added polygon data-type (#129)
* added polygon data-type * added polygon data-type * added tests for polygon * fixed polygon typos
Configuration menu - View commit details
-
Copy full SHA for 830abbc - Browse repository at this point
Copy the full SHA 830abbcView commit details -
Fix conversion between Date and timestamp/timestamptz types (#117)
It seems timestamp values are adjusted for the local time zone. When converting to a Date, we need to subtract the local offset to get the correct value. When converting from a Date, it is better to use the timestamptz type, which works with both kinds of fields and does not have this problem.
Configuration menu - View commit details
-
Copy full SHA for bb4e603 - Browse repository at this point
Copy the full SHA bb4e603View commit details
Commits on Mar 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4d99693 - Browse repository at this point
Copy the full SHA 4d99693View commit details
Commits on Mar 13, 2019
-
configure performance testing (#133)
* configure performance testing * add -enable-testing * use swift 4.1 + add psql to perf test
Configuration menu - View commit details
-
Copy full SHA for 5088dcb - Browse repository at this point
Copy the full SHA 5088dcbView commit details
Commits on Mar 14, 2019
-
Significantly improve performance of row decoding. (#130) (#134)
* Significantly improve performance of row decoding. Motivation: 1. `PostgreSQLRowDecoder`: `_KeyedDecodingContainer.decode` is called once for each key on the decoded object. With the current implementation, this performs a linear search on the `row` dictionary, which results in a total runtime (per object) of O(keys * columns), i.e. quadratic runtime ~O(keys^2). We replace the current linear search with one or two dictionary lookups if `tableOID != 0`, resulting in linear runtime (per object) in the number of keys (provided dictionary lookups can be assumed to take roughly constant time). 2. `PostgreSQLConnection.TableNameCache`: Most lookups are `tableName -> OID`. We accelerate that lookup by preparing a dictionary for that kind of lookup ahead of time, again replacing linear search. Effect: The time required for decoding ~5k objects with 9 fields each drops from ~0.4s on a Core i7-6700k (Release build) to ~0.2s, effectively doubling throughput. Optimization 1 contributes ~130 ms, Optimization 2 contributes ~70ms. * Whitespace fixes. * Comment fix. * More whitespace, sorry. * Implement `decodeIfPresent` to avoid two dictionary lookups per call. * Minor code simplification.
Configuration menu - View commit details
-
Copy full SHA for 41cec28 - Browse repository at this point
Copy the full SHA 41cec28View commit details
Commits on Sep 8, 2019
-
Handle NULLs when decoding arrays (#142)
* Add crashing test for decoding an array with NULL values * Fix crash on NULL values inside arrays
Configuration menu - View commit details
-
Copy full SHA for 561fa79 - Browse repository at this point
Copy the full SHA 561fa79View commit details
Commits on Oct 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 69ccf32 - Browse repository at this point
Copy the full SHA 69ccf32View commit details
Commits on Mar 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 367c120 - Browse repository at this point
Copy the full SHA 367c120View commit details
Commits on Mar 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 489537a - Browse repository at this point
Copy the full SHA 489537aView commit details
Commits on Jun 29, 2022
-
Ignore ParamaterStatus messages when handling response (#218)
ParameterStatus messages may be generated in response to a SET command or when the administrator sends the SIGHUP signals to the server. They will appear in the query response and should be ignored.
Configuration menu - View commit details
-
Copy full SHA for 9f92317 - Browse repository at this point
Copy the full SHA 9f92317View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...1