Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 299695

PostgreSQL: Add support for reserved field/column names

$
0
0

This issue is part of #2157455: [Meta] Make Drupal 8 work with PostgreSQL or remove support from core before release.

Problem/Motivation

Some migrate tables use reserved keywords as column name like OFFSET currently causing exceptions on PostgreSQL because such names need quoting to work. As this is somehow not a problem for MySQL we decided to add support for PostgreSQL also by adding quotes where needed.

Proposed resolution

  • Add new reserved words for PostgreSQL 9.1.2 and other versions.
  • Ensure quoting for column names on insert/update/delete for reserved words.
  • Add tests to ensure quoting for column names.

Remaining tasks

Write Patch
Patch review
Run tests on PostgreSQL test bot
Write beta evaluation

User interface changes

None.

API changes

None.

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue categoryBug because migrate system uses reserved words and render migrate unusable on PostgreSQL.
Issue priorityMajor because it affects secondary environments and the migrate component is not required for new Drupal 8 web sites.
Prioritized changesPostgreSQL until 2015.07.01

Viewing all articles
Browse latest Browse all 299695

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>