Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#4585 closed (wontfix)

XMLField in PostgreSQL

Reported by: BleSS Owned by: adrian
Component: Database layer (models, ORM) Version: master
Severity: Keywords: postgresql xmlfield
Cc: gajon@…, adurdin@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Change History (2)

comment:1 Changed 8 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

The xml data type only exists on certain builds of PostgreSQL and not by default. For example, Fedora 7, using PostgreSQL 8.2.4 does not have this support. We can't have conditional field types based on what the database might or might not support in the server (it's very hard to detect and non-portable).

If somebody wants to use this functionality, they can create a field subclass (in the near future) that does what they want.

comment:2 Changed 8 years ago by Jonas

It's true that XML data type only exists in certains builds of PostgreSQL, but it isn't hard to detect.

After of 5 min. in #postgresql channel (freenode):

\d pg_type
select * from pg_type;

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