Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Nov 2026

Pull Request for Issue # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

This change was created with the help of AI (Claude Code).

Summary of Changes

sql/updates/postgresql/5.1.0.sql calls jsonb_set() with five arguments. jsonb_set(target, path, new_value [, create_missing]) only accepts three or four, so PostgreSQL raises function jsonb_set(jsonb, unknown, unknown, unknown, unknown) does not exist and the update stops at 5.1.0.

This PR uses the same, correctly nested statements as 5.2.0.sql.

Testing Instructions

On PostgreSQL, install Weblinks 5.0.0, then update to a package built from this branch. Check System → Maintenance → Database.

Expected result

Update runs without errors, no database problems are reported.

Actual result

Update fails on the 5.1.0 schema update with a jsonb_set error.

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment