Attached ia a patch to enable window size detection code of psql for Solaris platform.
Attached ia a patch to enable window size detection code of psql for Solaris
platform.

TIOCGWINSZ is defined as follows:

    Linux       asm/ioctls.h
    FreeBSD     sys/ttycom.h. This file is included by sys/ioctl.h.
    Solaris     sys/termios.h

This patch tells print.c to know TIOCGWINSZ on Solaris platform. Same code is
founded in src/bin/psal/common.c.

Kenji Sugita

0x0FFF/gpdb,janebeckman/gpdb,foyzur/gpdb,ahachete/gpdb,tpostgres-projects/tPostgres,jmcatamney/gpdb,kaknikhil/gpdb,lpetrov-pivotal/gpdb,Quikling/gpdb,snaga/postgres-xl,CraigHarris/gpdb,janebeckman/gpdb,oberstet/postgres-xl,royc1/gpdb,arcivanov/postgres-xl,yazun/postgres-xl,cjcjameson/gpdb,tpostgres-projects/tPostgres,lisakowen/gpdb,lintzc/gpdb,kaknikhil/gpdb,tangp3/gpdb,zaksoup/gpdb,zaksoup/gpdb,kaknikhil/gpdb,tangp3/gpdb,Chibin/gpdb,atris/gpdb,0x0FFF/gpdb,CraigHarris/gpdb,lpetrov-pivotal/gpdb,edespino/gpdb,xuegang/gpdb,foyzur/gpdb,ovr/postgres-xl,tangp3/gpdb,jmcatamney/gpdb,rubikloud/gpdb,atris/gpdb,janebeckman/gpdb,lintzc/gpdb,zeroae/postgres-xl,zaksoup/gpdb,Quikling/gpdb,zaksoup/gpdb,edespino/gpdb,xinzweb/gpdb,Postgres-XL/Postgres-XL,CraigHarris/gpdb,rvs/gpdb,foyzur/gpdb,Quikling/gpdb,kaknikhil/gpdb,greenplum-db/gpdb,rubikloud/gpdb,tangp3/gpdb,50wu/gpdb,edespino/gpdb,ovr/postgres-xl,CraigHarris/gpdb,zaksoup/gpdb,snaga/postgres-xl,arcivanov/postgres-xl,atris/gpdb,rvs/gpdb,xinzweb/gpdb,atris/gpdb,yuanzhao/gpdb,rubikloud/gpdb,ashwinstar/gpdb,techdragon/Postgres-XL,yazun/postgres-xl,Chibin/gpdb,CraigHarris/gpdb,zeroae/postgres-xl,lintzc/gpdb,lisakowen/gpdb,oberstet/postgres-xl,cjcjameson/gpdb,rubikloud/gpdb,xinzweb/gpdb,jmcatamney/gpdb,rubikloud/gpdb,foyzur/gpdb,Chibin/gpdb,ahachete/gpdb,Postgres-XL/Postgres-XL,chrishajas/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,Chibin/gpdb,oberstet/postgres-xl,50wu/gpdb,royc1/gpdb,CraigHarris/gpdb,Chibin/gpdb,royc1/gpdb,pavanvd/postgres-xl,ahachete/gpdb,lisakowen/gpdb,CraigHarris/gpdb,kmjungersen/PostgresXL,Postgres-XL/Postgres-XL,lisakowen/gpdb,lpetrov-pivotal/gpdb,kmjungersen/PostgresXL,postmind-net/postgres-xl,cjcjameson/gpdb,50wu/gpdb,rvs/gpdb,ahachete/gpdb,janebeckman/gpdb,0x0FFF/gpdb,yuanzhao/gpdb,ovr/postgres-xl,ashwinstar/gpdb,xuegang/gpdb,snaga/postgres-xl,chrishajas/gpdb,Chibin/gpdb,pavanvd/postgres-xl,atris/gpdb,cjcjameson/gpdb,lpetrov-pivotal/gpdb,lintzc/gpdb,lintzc/gpdb,tangp3/gpdb,cjcjameson/gpdb,cjcjameson/gpdb,arcivanov/postgres-xl,tangp3/gpdb,edespino/gpdb,adam8157/gpdb,foyzur/gpdb,ovr/postgres-xl,tpostgres-projects/tPostgres,pavanvd/postgres-xl,yuanzhao/gpdb,edespino/gpdb,greenplum-db/gpdb,zeroae/postgres-xl,yazun/postgres-xl,adam8157/gpdb,yuanzhao/gpdb,rvs/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,royc1/gpdb,Quikling/gpdb,50wu/gpdb,Quikling/gpdb,oberstet/postgres-xl,lpetrov-pivotal/gpdb,lintzc/gpdb,ahachete/gpdb,rubikloud/gpdb,janebeckman/gpdb,cjcjameson/gpdb,lpetrov-pivotal/gpdb,Chibin/gpdb,yuanzhao/gpdb,lisakowen/gpdb,Chibin/gpdb,Quikling/gpdb,kmjungersen/PostgresXL,Chibin/gpdb,xinzweb/gpdb,chrishajas/gpdb,snaga/postgres-xl,yuanzhao/gpdb,yazun/postgres-xl,tangp3/gpdb,0x0FFF/gpdb,randomtask1155/gpdb,rvs/gpdb,zaksoup/gpdb,Postgres-XL/Postgres-XL,postmind-net/postgres-xl,cjcjameson/gpdb,randomtask1155/gpdb,kaknikhil/gpdb,royc1/gpdb,kaknikhil/gpdb,techdragon/Postgres-XL,janebeckman/gpdb,0x0FFF/gpdb,Quikling/gpdb,chrishajas/gpdb,cjcjameson/gpdb,janebeckman/gpdb,rvs/gpdb,edespino/gpdb,50wu/gpdb,Postgres-XL/Postgres-XL,greenplum-db/gpdb,jmcatamney/gpdb,50wu/gpdb,postmind-net/postgres-xl,janebeckman/gpdb,arcivanov/postgres-xl,ashwinstar/gpdb,adam8157/gpdb,arcivanov/postgres-xl,chrishajas/gpdb,arcivanov/postgres-xl,royc1/gpdb,edespino/gpdb,xinzweb/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,royc1/gpdb,xuegang/gpdb,postmind-net/postgres-xl,greenplum-db/gpdb,lintzc/gpdb,lisakowen/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,lintzc/gpdb,50wu/gpdb,pavanvd/postgres-xl,yazun/postgres-xl,techdragon/Postgres-XL,royc1/gpdb,0x0FFF/gpdb,xuegang/gpdb,50wu/gpdb,edespino/gpdb,jmcatamney/gpdb,jmcatamney/gpdb,rvs/gpdb,chrishajas/gpdb,kaknikhil/gpdb,ahachete/gpdb,foyzur/gpdb,ashwinstar/gpdb,0x0FFF/gpdb,greenplum-db/gpdb,ahachete/gpdb,Chibin/gpdb,xuegang/gpdb,randomtask1155/gpdb,lisakowen/gpdb,adam8157/gpdb,ashwinstar/gpdb,xuegang/gpdb,snaga/postgres-xl,zeroae/postgres-xl,edespino/gpdb,yuanzhao/gpdb,kmjungersen/PostgresXL,kaknikhil/gpdb,atris/gpdb,xuegang/gpdb,oberstet/postgres-xl,jmcatamney/gpdb,janebeckman/gpdb,rubikloud/gpdb,atris/gpdb,tangp3/gpdb,kaknikhil/gpdb,kaknikhil/gpdb,Quikling/gpdb,randomtask1155/gpdb,randomtask1155/gpdb,tpostgres-projects/tPostgres,lpetrov-pivotal/gpdb,kmjungersen/PostgresXL,ahachete/gpdb,rvs/gpdb,CraigHarris/gpdb,adam8157/gpdb,janebeckman/gpdb,xuegang/gpdb,adam8157/gpdb,rubikloud/gpdb,xinzweb/gpdb,zaksoup/gpdb,lisakowen/gpdb,CraigHarris/gpdb,rvs/gpdb,adam8157/gpdb,zaksoup/gpdb,randomtask1155/gpdb,tpostgres-projects/tPostgres,postmind-net/postgres-xl,atris/gpdb,Quikling/gpdb,foyzur/gpdb,adam8157/gpdb,rvs/gpdb,Quikling/gpdb,randomtask1155/gpdb,chrishajas/gpdb,ovr/postgres-xl,techdragon/Postgres-XL,randomtask1155/gpdb,yuanzhao/gpdb,edespino/gpdb,techdragon/Postgres-XL,xuegang/gpdb,lpetrov-pivotal/gpdb,0x0FFF/gpdb,foyzur/gpdb,chrishajas/gpdb,greenplum-db/gpdb,zeroae/postgres-xl,ashwinstar/gpdb,lintzc/gpdb,xinzweb/gpdb