Thanks to visit codestin.com
Credit goes to GitHub.com

Skip to content

Tags: sqliteai/sqlite-sync-dev

Tags

0.9.101

Toggle 0.9.101's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
perf(postgres): use SQL template casting for non-PK column types (#4)

* perf(postgres): use SQL template casting for non-PK column types

Refactor type conversion for non-PK columns to use SQL template casting ($n::typename) instead of per-value SPI_execute_with_args("SELECT $1::typename") calls. This matches the pattern already used for primary key columns.

Changes:
  - sql_postgresql.c: Add format_type() lookup and $n::coltype casting to SQL_BUILD_UPSERT_PK_AND_COL for non-PK column values
  - cloudsync_postgresql.c: Simplify cloudsync_decode_bytea_to_pgvalue() to return base types only (INT8, FLOAT8, TEXT, BYTEA) without SPI casting
  - cloudsync_postgresql.c: Remove lookup_column_type_oid() function
  - Add test 19 (19_uuid_pk_with_unmapped_cols.sql) covering UUID PK with unmapped non-PK types (JSONB, UUID, INET, CIDR) and all CRUD operations: INSERT, UPDATE non-PK, UPDATE mapped cols, DELETE, RESURRECT, UPDATE PK

Performance benefit: Eliminates one SPI_execute call per non-PK column value during payload application, reducing overhead for unmapped PostgreSQL types.

* test(postgres): new tests

0.9.100

Toggle 0.9.100's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add support for UUID primary keys in PG (#3)

* Fix for PG UUID used as PK

* build(postgres): update test target for the current test files

* docs(docs/postgresql/CLIENT.md): clarify primary key requirements for PostgreSQL and SQLite, added support for UUID primary keys

* test(claude): add custom command for claude code to run sqlite-to-pg tests for the specified table schema

---------

Co-authored-by: Marco Bambini <[email protected]>

0.9.99

Toggle 0.9.99's commit message
feat: support to https connection string and JWT token

0.9.98

Toggle 0.9.98's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 0.9.98

0.9.96

Toggle 0.9.96's commit message
Fixed SQLite unit test

0.9.94

Toggle 0.9.94's commit message
Update README.md

0.9.93

Toggle 0.9.93's commit message
fix(packages/expo): npmjs sigstore provenance bundle error

0.8.63

Toggle 0.8.63's commit message
fix(packages/node): library binary correct architecture artifactFolde…

…r and specify latest release tag in the main branch release job

0.8.61

Toggle 0.8.61's commit message
Improved cloudsync_network_init

0.8.60

Toggle 0.8.60's commit message
Improved memory cleanup in network