Olivier PRENANT <ohp(at)pyrenet(dot)fr> writes:
> pyrenet=# select 'today'::timestamp
> ?column?
> -------------------------------------------
> Mon 29 May 00:00:00 2000 MET DST(^A
> (1 row)
> script done on Mon May 29 13:44:30 2000
> As you can see, there's no \0 after TZ.
OK, patched for 7.0.1 (I increased MAXTZLEN as well as made the code
more careful about overrun of the allowed length).
regards, tom lane