Opened 9 years ago

Closed 9 years ago

#5226 closed (fixed)

"Invalid relational operator" against Oracle 9i backend

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


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 Changed 9 years ago by mboersma

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to mboersma
  • Patch needs improvement unset
  • Status changed from new to assigned

comment:2 Changed 9 years ago by mboersma

  • Resolution set to fixed
  • Status changed from assigned to closed

(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

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