Opened 11 years ago

Closed 11 years ago

#514 closed defect (fixed)

Noisy errors during imports for systemtests

Reported by: Piero Campalani Owned by: Piero Campalani
Priority: trivial Milestone: Future
Component: systemtest Version: development
Keywords: Cc:
Complexity: Trivial

Description

While adding a CRS to petascopedb a misleading error is printed in console since the import scripts do not check the existence of the URI in ps9_crs table before insertion.

Now that Postgresql 9 is tested (see #431), a WHERE NOT EXISTS clause can be added.

Change History (3)

comment:1 by Dimitar Misev, 11 years ago

But doesn't that limit us to 9.1, we don't want to give up 8.x yet. A simple query beforehand will work just as good.

comment:2 by Piero Campalani, 11 years ago

Ah ok, I thought 9.0 was a new requirement.
Yes I can then just add a query before INSERT.

comment:3 by Piero Campalani, 11 years ago

Resolution: fixed
Status: newclosed

Patch applied: changeset:f0db633 .

Note: See TracTickets for help on using tickets.