Page MenuHomePhabricator

Make constraints DEFERRABLE in postgresql
Closed, ResolvedPublic

Description

Author: wikipedia

Description:
Make all constraints deferrable

In order to be able to load a mediawiki dump with mwdumper in PostgreSQL without needing to be the super-user, all constraints must be deferrable in order to delay their application until the end of the transaction (cf. Bug 21548).

I attached a patch.


Version: 1.16.x
Severity: enhancement

Attached:

Details

Reference
bz21549

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:46 PM
bzimport set Reference to bz21549.

Thanks, applied a modified version, and made update.php do the right thing as well. See r64033.

Jdforrester-WMF subscribed.

Migrating from the old tracking task to a tag for PostgreSQL-related tasks.