here is a patch fixing today's bug report:
here is a patch fixing today's bug report:

> Date: Thu, 14 Dec 2000 12:44:47 +0100 (CET)
> From: Kovacs Zoltan Sandor <tip@pc10.radnoti-szeged.sulinet.hu>
> To: pgsql-bugs@postgresql.org
> Subject: [BUGS] to_char() causes backend to close connection
>
> Hi, this query gives different strange results:
>
> select to_char(now()::abstime,'YYMMDDHH24MI');
>
> I get e.g. a "backend closed the channel unexpectedly..." error with
> successful or failed resetting attempt (indeterministic)

 Again thanks Kovacs, you found really designing bug, that appear
if anyone write bad format template to "number" version of to_char()
(as you with 'DD').

                                        Karel

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