Skip to content

Commit d87bbc3

Browse files
docs: Update PostgreSQL backend status from future to 2.1 release
- whats-new-2.md: Change "Future-proof architecture" to "Multi-backend support" - migrate-to-v20.md: Update PostgreSQL from "future" to "new in 2.1" - Rename section "Future Backend Support" to "PostgreSQL Backend Support" Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent c358209 commit d87bbc3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/explanation/whats-new-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ DataJoint 2.0 introduces fundamental improvements to type handling, job coordina
1313
- **Explicit over implicit**: All type conversions are now explicit through the codec system
1414
- **Better distributed computing**: Per-table job coordination with improved error handling
1515
- **Object storage integration**: Native support for large arrays and files
16-
- **Future-proof architecture**: Portable types preparing for PostgreSQL backend support
16+
- **Multi-backend support**: Portable types enabling PostgreSQL backend (added in 2.1)
1717

1818
### Breaking Changes at a Glance
1919

src/how-to/migrate-to-v20.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Upgrade existing pipelines from legacy DataJoint (pre-2.0) to DataJoint 2.0.
2525
**Character encoding and collation:** DataJoint 2.0 standardizes on UTF-8 encoding with binary collation (case-sensitive comparisons). This is configured **server-wide** and is assumed by DataJoint:
2626

2727
- **MySQL:** `utf8mb4` character set with `utf8mb4_bin` collation
28-
- **PostgreSQL (future):** `UTF8` encoding with `C` collation
28+
- **PostgreSQL (new in 2.1):** `UTF8` encoding with `C` collation
2929

3030
Like timezone handling, encoding is infrastructure configuration, not part of the data model. Ensure your MySQL server is configured with these defaults before migration.
3131

@@ -39,9 +39,9 @@ DataJoint 2.0 is licensed under **Apache 2.0** (previously LGPL-2.1).
3939

4040
No action required—the new license is more permissive.
4141

42-
### Future Backend Support
42+
### PostgreSQL Backend Support
4343

44-
DataJoint 2.0 introduces portable type aliases (`int64`, `float64`, etc.) that prepare the codebase for **PostgreSQL backend compatibility** in a future release. Migration to core types ensures your schemas will work seamlessly when Postgres support is available.
44+
DataJoint 2.0 introduced portable type aliases (`int64`, `float64`, etc.) that enable **PostgreSQL backend compatibility**, which was added in DataJoint 2.1. Migration to core types ensures your schemas work seamlessly on both MySQL and PostgreSQL backends.
4545

4646
**String quoting in restrictions:** MySQL and PostgreSQL handle quotes differently. MySQL allows both single and double quotes for string literals, but PostgreSQL interprets double quotes as identifier (column) references. For PostgreSQL compatibility, replace double quotes with single quotes inside SQL restriction strings:
4747

0 commit comments

Comments
 (0)