Add bindValue to a PDO::PARAM_* type in database query arguments

Created on 11 April 2014, over 10 years ago
Updated 11 February 2023, almost 2 years ago

Problem/Motivation

We cannot add query conditions on a BLOB/bytea field reliably; in PostgreSQL, a condition value containing non-UTF data generates a

ERROR: invalid byte sequence for encoding "UTF8": ...

Proposed resolution

Add (the the ability to add) bindValue() calls to query arguments.

Original report

#2222635-14: Waiting for table metadata lock on cache_field table had output issues like #710940-10: Support for BINARY and VARBINARY in Database Schema

Feature request
Status

Postponed

Version

10.1

Component
Database 

Last updated 2 days ago

  • Maintained by
  • 🇳🇱Netherlands @daffie
Created by

Live updates comments and jobs are added and updated live.
  • PostgreSQL

    Particularly affects sites running on the PostgreSQL database.

  • API addition

    Enhances an existing API or introduces a new subsystem. Depending on the size and impact, possibly backportable to earlier major versions.

  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024