title: About PostgreSQL with Django and CPanel
body: <p><strong>Django doesn't support earlier version of PostgreSQL, but CPanel doesn't support later version of PostgreSQL, running inspectdb makes faults. Somehow ended up with erased models.py</strong></p>
  <p>I have Django (version 3.1.1)  on the server with Centos 7 with CPanel and database based on PostgreSQL (version  9.2.24). I was pretty happy with this setup, till recently I tried to do changes in my databse tables through the python models.py.</p>
  <p>I ran the following command: python manage.py inspectdb... So I understand which changes I have to make in models.py... This command gave me the following fault:</p>
  <pre><code># Unable to inspect table 'auth_group'
  # The error was: syntax error at or near &quot;WITH ORDINALITY&quot;
  LINE 6:                     FROM unnest(c.conkey) WITH ORDINALITY co...
  </code></pre>
  <p>For every table in my database. Meanwhile, I never had any problems with makemigrations or migrate commands...</p>
  <p>So I tried to look up this fault, the only thing I found is that PostgreSQL version 9 is not supported by Django anymore...</p>
  <p>I looked up into manage.py in my project folder and discovered that somehow it is empty, despite I have my tables in my PostgreSQL it contacts to Django and behaves normally on the site... So I would definitely need to post my tables into the file.(?)</p>
  <p>I would like to install PostgreSQL which is supported by Django, but I have response from my host that the highest version of PostgreSQL supported by CPanel is indeed 9.2.24... And as soon as I install higher versions of PosgreSQL, I won't be able to use CPanel for my database...</p>
  <p>Also I concerned, when I update my PostgeSQL I will erase my database and honestly it is pain in the butt to correct csv files in libreOffice excel program to load them back into database and then correct the mistakes and misunderstandings of this process...</p>
  <p>I didn't see any information on the conflict between PostgreSQL, CPanel and Django... It might help somebody to get the information that there is some conflict between this programs, till, I guess, they get updated to support each other...Now I saw some post on a different resource, which discusses that PostgreSQL 9 is not supported by CPanel... But still no understanding how to deal with this... The source I saw, it seems it was a talk between coworkers with their own resources, which is not available to public.</p>
  <p>What would be the best course of action to deal with this situation?</p>