"Ashish Karalkar" <ashish(dot)karalkar(at)info-spectrum(dot)com> writes:
> In the script I follow following steps
> 1) create user xyz
> 2) create database xyz -O xyz
> 3) create schema xyz
> 4) {PG_PATH}/psql -d xyz -U xyz -f =
> /usr/local/pgsql/QS/QS_100_2_Create_Table.sql -q -1
Are you sure you are creating the schema in the right database? Your
problems are consistent with the theory that schema xyz isn't present.
regards, tom lane