Project

General

Profile

Actions

Architecture #2434

closed

Isolate postgres data used for test

Added by François ARMAND about 12 years ago. Updated about 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 #1

Updated by François ARMAND about 12 years ago

  • Status changed from 2 to Pending technical review
  • % Done changed from 0 to 100
Actions #2

Updated by Nicolas CHARLES about 12 years ago

  • Status changed from Pending technical review to Released

This looks valid, thank you Francois !

Actions

Also available in: Atom PDF