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
fix(pgsql): fix 19 test failures found in full test run
Framework fix:
- buildDeleteCondition default case now checks LocalTypeBool and uses
boolFalseLiteral(), fixing SoftTimeTypeTimestampMilli/Nano with
boolean delete_at fields on PgSQL/GaussDB.
Test fixes:
- Lock tests: remove COUNT+FOR UPDATE (PgSQL forbids aggregates with
row locks), replace LockShared() with Lock("FOR SHARE") (LockShared
emits MySQL-only LOCK IN SHARE MODE)
- Issue2427: WHERE 1 → WHERE "1=1" (PgSQL needs boolean expression)
- Issue1002: fix UTC time range to match stored timestamp (19:03:xx)
- Issue1412: struct With() directive checked against PgSQL quoting
- Issue3204: verified SQL assertion uses PgSQL double-quote identifiers
- Issue4034: replace Save() with Insert() (Save needs ON CONFLICT target)
- Array_Contains: cast ARRAY literal to varchar[] to match column type
- OmitEmpty_ZeroValues: reset bigserial sequence after createInitTable
- InsertAndGetId: remove explicit id=1, let bigserial auto-generate
- Concurrent_Mixed: use AssertGE instead of AssertGT (sequence conflicts)
Skip stubs for MySQL-only SQL extensions:
- ORDER BY NULL, HAVING without GROUP BY, COUNT(DISTINCT col1,col2),
UPDATE ... ORDER BY
ref gogf#4689
0 commit comments