Description of problem:
When using functions like "fn_db_change_column_type" , if we use a column or table the function is not applied and no error is raised.
Version-Release number of selected component (if applicable):
How reproducible:
Actual results:
The function is not applied and no error is raised
Expected results:
Needs to get an error.
(In reply to Shirly Radco from comment #0)
> Description of problem:
> When using functions like "fn_db_change_column_type" , if we use a column or
> table the function is not applied and no error is raised.
if we use a column or table => if we use unknown column or table
In order to test this you will need to create an upgrade script that uses the functions:
fn_db_drop_column, fn_db_change_column_type, fn_db_rename_column
and use as parameters table or column that do not exist and run from the dbscripts the schema.sh.
Shirly
Verified:
psql:./upgrade/03_05_1160_test.sql:1: ERROR: Table datacenter_daily_history or Column test does not exist.
FATAL: Cannot execute sql command: --file=./upgrade/03_05_1160_test.sql
rhevm: rhevm-3.5.0-0.20.el6ev.noarch