You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
851: Bug fixes for double-quoted relation names
While investigating #843, several statements were failing due to double-quoted identifiers. This PR fixes COPY statements and use of nextval() and setval() to properly parse double-quoted identifiers.
834: Label contribution PRs
Adds a GitHub Actions workflow to label PRs from outside the team with the "contribution" label. This is the same workflow we use for dolt/go-mysql-server/etc.
833: Test and fix for detached head error for pg_catalog tables
Dolt PR: dolthub/dolt#8434
832: Bug fixes for DESCRIBE and implemented SHOW TABLES
Fixes #830
829: Support for using TEXT fields in secondary indexes and UNIQUE constraints
Allows TEXT columns in Doltgres to work when used in secondary indexes and in unique constraints. PostgreSQL does not have a concept of prefix lengths and Dolt requires prefix lengths for TEXT columns. This now works in Doltgres because a new Doltgres analyzer rule implicitly fills in a default prefix length in these cases.
Depends on:
813: Added CREATE USER, ALTER USER, DROP USER
This adds support for CREATE USER, ALTER USER, and DROP USER. This also adds the related ROLE statements too, since the USER statements are essentially aliases for them. Next step will be to look into persistence and bats testing.
812: fix: fix slice init length
The intention here should be to initialize a slice with a capacity of length rather than initializing the length of this slice.
The online demo: https://go.dev/play/p/q1BcVCmvidW
790: Support for setting custom session settings in user namespaces
e.g.:
SETmynamespace.var to 'true';
SHOW mynamespace.var;
SELECT current_setting('mynamespace.var');
Postgres allows any configuration parameter to be set this way as long as it's not in the default (empty) namespace.
This functionality lets us exercise Dolt engine tests that have user variables in them.
789: Add support for ALTER COLUMN TYPE, DEFAULT, and NOT NULL statements
Depends on:
778: Feature: delimiter support for COPY FROM STDIN
Allows the DELIMITER copy option to be specified for CSV and TEXT imports.
Also adds initial support for the legacy copy option syntax described in the Compatibility section of COPY docs (e.g. COPY <table> FROM STDIN CSV, HEADER; instead of COPY <table> FROM STDIN WITH (FORMAT CSV, HEADER true);).
775: Added RFC5802 for user client authentication
For the most part, this implements the following portions of RFC 5802:
Validation portion of Section 5
This also bases the stored data from:
https://www.postgresql.org/docs/15/catalog-pg-authid.html
This PR finally lets the server do the full authentication routine with the client. For now, I've created a mock database full of mock users, which are actually being tested by all of our engine tests since we do supply a username and password when creating and setting up the server. The pgx library is handling the client-side authentication for these tests.
The next step is to handle basic CREATE USER and DROP USER statements. With those in, I'll create a full battery of tests (bats tests, unit tests, dedicated engine tests, etc.). Unit tests are not included in this PR since I may make further changes with the next PR, and I'd prefer to do a big testing pass at once since none of this is in production just yet.
After the aforementioned statements and testing, I'll move on to designing the storage portion, since the mock user and mock database are stand-ins for an actual implementation.
746: fix value types used for datetime types and add timezone function