| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| install.sh | < 20 hours ago | 3.4 kB | |
| doltgresql-windows-amd64.7z | < 20 hours ago | 26.7 MB | |
| doltgresql-windows-amd64.zip | < 20 hours ago | 45.6 MB | |
| doltgresql-darwin-arm64.tar.gz | < 20 hours ago | 45.0 MB | |
| doltgresql-darwin-amd64.tar.gz | < 20 hours ago | 47.6 MB | |
| doltgresql-linux-arm64.tar.gz | < 20 hours ago | 44.6 MB | |
| doltgresql-linux-amd64.tar.gz | < 20 hours ago | 48.2 MB | |
| 0.56.0 source code.tar.gz | < 21 hours ago | 12.0 MB | |
| 0.56.0 source code.zip | < 21 hours ago | 13.6 MB | |
| README.md | < 21 hours ago | 5.3 kB | |
| Totals: 10 Items | 283.3 MB | 0 | |
Merged PRs
doltgresql
- 2503: Fixed DST handling by moving to
timeofdaytime.Timeserialization and deserialization can cause information to be irreversibly lost due to daylight savings time changes. The location isn't directly serialized due to it being tied to the runtime system information (different operating systems may have different time zone information), and is therefore reconstructed on deserialization. This is fine fortimestamptz, as we internally process everything as UTC and use the client's timezone when returning values to the client. Fortimetz, however, the timezone information is embedded in the value itself and is independent of the client, and this was causing information loss during serialization. This PR changes serialization to use thetimetz.TimeTZtype, which is already used at most steps (by castingtime.Timetotimetz.TimeTZand vice-versa), and therefore the change propagates to all functions that take atimetzvalue. In line with this, thetimetype was updated to usetimeofday.TimeOfDay, which is also already used internally in most functions. Although serialization is fine, this was changed to be more inline withtimetz(astimetz.TimeTZdirectly usestimeofday.TimeOfDay) and also due totime.Timecarrying implicit information that can cause direct value comparisons to be incorrect. For example,'01:00:00'::timeshould sort before'02:00:00'::time, however adding 24 hours to the first value will still result in the correct hour mark for display, but internally thetime.Timevalue would be on the next day, and would cause the comparison to actually show'02:00:00'::timeappearing first (assuming they started on the same day to begin with). All of these issues are fixed by using the correct types that are already in Doltgres, and already used by the internal functions. I'm not sure why we decided to usetime.Timeinstead of those anyway (asintervaluses the internal type rather than casting totime.Duration), but this fixes it. This does mean that the serialization is incompatible with existing databases, however since serialization was incorrect in the first place, it's a necessary change. - 2496: /.github/workflows: bump actions checkout
- 2494: add is distinct and not distinct from exprs
- 2490: resolve user defined type in drop routine
- 2487: Added proper support for receiving binary formatted values
This is the
receivecounterpart to the following PR: - https://github.com/dolthub/doltgresql/pull/2394
All new tests were validated against a live Postgres 15 server to ensure that we're processing client input properly. In addition, I've added a little more testing on the
sendside as well, as there were a couple of small gaps in coverage. - 2478: remove
ValidateTagUniquenesscompanion pr: https://github.com/dolthub/dolt/pull/10707 - 2476: Misc Fixes for Prisma 3 things in this PR:
- Makes version numbers consistent. I used 15.17 which is the latest version of postgresql 15.
- Make the
col_description,obj_description, andshobj_descriptionreturn the correct value for "no comments", rather than "empty comments". They are still no-op functions but now return NULL instead of empty strings. More detailed information on these functions can be found here generate_subscriptsis a set returning function that returns the indices of the array you give it. So for instance the array [10, 40, 23] will return {1, 2, 3}. Most postgresql array types are 1-indexed, except for the typesoidvectorandint2vector. I added a fix so thatgenerate_subscriptsrespects those two's unique indexing. More ongenerate_subscriptshere.oidvectorandint2vectordon't seem to have standard docs pages but this site provides basic details.- 2472: add fors plpgsql statement
- 2464: Support creating/dropping DB with hypens in name
Adds functionality and testing for creating databases like
test-db. Currently:create database "test-db"will create a database called"test-db"(with the escaped quotes).drop database "test-db"will try to look for a database called"test-db"to drop (with the escaped quotes). - 2458: Moved the binary wire format for receiving to the
receivefunc - 2454: resolve type with database provided
- 2447: support fori plpgsql statement
Closed Issues
- 2333: UPDATE SET date_column = '2026-02-14' fails without explicit ::date cast via simple protocol