A current restriction limits the SQL command line length to the Catalog page size (not IQ page size) of the connected database. Because the default Catalog page size is 4KB, this is only a problem when the connection is to a database such as utility_db, which has a page size of 1024. This restriction may cause RESTORE commands that reference numerous dbspaces to fail.
To avoid the problem, make sure the length of SQL command lines is less than the Catalog page size.
Alternatively, start the engine with -gp
32768
to increase Catalog page size.