Use dict based data instead of 2d-array in Type module as we are adding keys on the fly.

Reviewed By: Harshal Dhumal
This commit is contained in:
Murtuza Zabuawala 2017-08-17 13:07:39 +05:30 committed by Akshay Joshi
parent deb5475b98
commit 2c6c4a16ce

View File

@ -403,7 +403,7 @@ class TypeView(PGChildNodeView, DataTypeReader):
'additional_properties.sql']),
type='c',
typrelid=copy_dict['typrelid'])
status, rset = self.conn.execute_2darray(SQL)
status, rset = self.conn.execute_dict(SQL)
if not status:
return internal_server_error(errormsg=res)