Running the Patched PHP 8.3.36 on Ubuntu 20.04 Servers With Docker
PHP fixed the two critical vulnerabilities CVE-2026-109618 and CVE-2026-109619 on October 21, 2026, in PHP 8.3.36 and the matching 8.2.35, 8.4.27 and…
When manually inserting data with explicit ID values into a PostgreSQL database, the auto-increment sequence doesn't automatically adjust. This can lead to conflicts when your app then tries to insert new rows using auto-generated IDs.
For example, in a Laravel application using a pages table, you might encounter this error:
Illuminate\Database\UniqueConstraintViolationException
SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "pages_pkey"
DETAIL: Key (id)=(4) already exists.
This error occurs because the sequence is trying to use an ID that already exists in the table due to a previous manual insert.
Check the current sequence value:
SELECT last_value, is_called FROM pages_id_seq;
Update the sequence to the maximum existing ID:
SELECT setval('pages_id_seq', (SELECT COALESCE(MAX(id), 0) FROM pages));
Verify the update:
SELECT last_value, is_called FROM pages_id_seq;
Give Vroni a GitHub issue, bug report, spec, or rough idea. It reads the repo, plans the change, writes code, runs checks, and works toward a review-ready pull request.
Take a look at vroni.com