Re: Cast with AutoField results in a 'type does not exist' error in PostgreSQL 10.1

2018-07-12 Thread Carlton Gibson
Hi Andrew, Reading the description, it seems like you may have hit a bug. Could you possibly put this into an actual test case and open a PR (plus Trac ticket) with that assuming the test fails? With code in hand it's much easier to assess (and fix). Thanks. Kind Regards, Carlton --

Cast with AutoField results in a 'type does not exist' error in PostgreSQL 10.1

2018-07-11 Thread Andrew Standley
Hey all,  I've run across an issue and I'm not sure if what I have is a bug, or if I've just done something horribly wrong. I'm hoping one of you can help me work out what it is. The issue is that `AutoField.db_type` returns 'serial', which is a "syntactical sugar" (not a true type) in