Re: python inspectdb got "The error was: function unnest(smallint[]) does not exist"

2018-06-21 Thread Melvyn Sopacua
On woensdag 20 juni 2018 19:12:00 CEST weiwei.hs...@keeptruckin.com wrote: > When I run "python3 manage.py inspectdb", I got below error messages: > > > # Unable to inspect table 'eld_messages' > > # The error was: function unnest(smallint[]) does not exist > > HINT: No function matches the

python inspectdb got "The error was: function unnest(smallint[]) does not exist"

2018-06-20 Thread weiwei . hsieh
I use Amazon Redshift database and Django 2.0.6. My redshift database settings is as below: DATABASES = { 'default': { 'NAME': 'my_db_name', 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'USER': 'my_username', 'PASSWORD': 'my_password',