Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to PL/php are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and the project aims to follow [Semantic Versioning](https://semver.org/).

## [Unreleased]
## [2.6.0] - 2026-07-06

### Added

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ MODULE_big = plphp
OBJS = plphp.o plphp_io.o plphp_spi.o

EXTENSION = plphp
DATA = plphp--2.5.sql plphp--2.0--2.1.sql plphp--2.1--2.2.sql plphp--2.2--2.3.sql plphp--2.3--2.4.sql plphp--2.4--2.5.sql
DATA = plphp--2.6.sql plphp--2.0--2.1.sql plphp--2.1--2.2.sql plphp--2.2--2.3.sql plphp--2.3--2.4.sql plphp--2.4--2.5.sql plphp--2.5--2.6.sql

# PHP embed SAPI compile/link flags, discovered via php-config.
PHP_CONFIG ?= php-config
Expand Down
10 changes: 10 additions & 0 deletions plphp--2.5--2.6.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* Upgrade PL/php from 2.5 to 2.6.
*
* 2.6 adds $_SD, a per-function static dictionary that persists across calls
* within a session (the private counterpart to the session-global $_SHARED).
* The companion bytea_plphp transform ships as its own extension. All of it
* lives in the C module, so there is nothing to change at the SQL level.
*/

-- complain if script is sourced in psql, rather than via ALTER EXTENSION
\echo Use "ALTER EXTENSION plphp UPDATE" to load this file. \quit
File renamed without changes.
2 changes: 1 addition & 1 deletion plphp.control
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
# the server's OS user. The extension is therefore superuser-only to install
# and the language is created without the TRUSTED attribute.
comment = 'PL/php procedural language (untrusted)'
default_version = '2.5'
default_version = '2.6'
module_pathname = '$libdir/plphp'
relocatable = false
Loading