Opened 17 years ago

Closed 17 years ago

#5226 closed (fixed)

"Invalid relational operator" against Oracle 9i backend

Reported by: Matt Boersma Owned by: Matt Boersma
Component: Database layer (models, ORM) Version: dev
Severity: Keywords: oracle regex iregex
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Recent changes to support Django's regex and iregex operators in Oracle only work against Oracle Database Server 10g or later. Running the test suite against an Oracle 9i server leads to SQL Oracle won't recognize: "DatabaseError: ORA-00920: invalid relational operator".

We previously claimed to support Oracle versions 9i and greater (11g is current) in the boulder-oracle-sprint branch. Oracle 9i is due to drop off their support matrix soon, if it hasn't already, but since things move deliberately in the enterprise world, 9i is still very common. Either we need to implement a fallback strategy when connecting to a 9i server, or drop 9i support officially.

Change History (2)

comment:1 by Matt Boersma, 17 years ago

Owner: changed from nobody to Matt Boersma
Status: newassigned

comment:2 by Matt Boersma, 17 years ago

Resolution: fixed
Status: assignedclosed

(In [6198]) Fixed #5226. Now we check the Oracle version and give an explicit
error when we encounter a regex operator that isn't supported on 9i or
earlier.

Note: See TracTickets for help on using tickets.
Back to Top