Project

General

Profile

Actions

Architecture #2434

closed

Isolate postgres data used for test

Added by François ARMAND over 12 years ago. Updated over 12 years ago.

Status:
Released
Priority:
2
Category:
Architecture - Code maintenance
Target version:
Effort required:
Name check:
Fix check:
Regression:

Description

We want to be able to launch several test that use same tables on postgres concurrently.

For that, we should use the "CREATE TEMP TABLE" that allows to create temporary table, which belong to their own namespace, shadow table with the same name on public namespace, and have a lifespan of the session which created them.

See: http://www.postgresql.org/docs/9.1/interactive/sql-createtable.html

Actions

Also available in: Atom PDF