|
In my case (FreeBSD 6 and 7) psql does not freezes, but for some reason
part of pasted code get corrupted when size of the code relatively big.
It seems like some timeout used, or buffer overflows: 1. locally with xterm for the first time pasting function of 9K: base=> create or replace function football_recalc_match_stat(bigint) returns void as $$ declare < here i see rows 1-52 of function without 'base$>' prefix > where football_match = match and match_event_type in (3, 12)base$> declare base$> match alias for $1; < here i see rows 1-117 of function with 'base$>' prefix > < here i see rows 166-till the end of the func with 'base$>' prefix> and got error in function body at the row 118. 2-10 locally and via ssh to localhost with xterm -- no problem. 11 - to remote host via ssh with xterm base=> create or replace function football_recalc_match_stat(bigint) returns void as $$ declare < here i see rows 1-52 of function without 'base$>' prefix > where football_match = match and match_event_type in (3, 12)sovsport$> declare base$> match alias for $1; < here i see rows 1-23 of function with 'base$>' prefix, last row truncated > base$> and that's all 11 stable reproduced for several times with problems on the same rows. uname -a FreeBSD 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #0: Wed Sep 3 09:41:48 MSD 2008 i386 set | grep LANG LANG=ru_RU.UTF-8 pkg_info -r postgresql-client-8.2.7 Information for postgresql-client-8.2.7: Depends on: Dependency: libiconv-1.11_1 Dependency: gettext-0.16.1_3 Tom Lane wrote: Merlin Moncure <[email protected]> writes: |
- [GENERAL] pasting into psql garbles text Merlin Moncure
- Re: [GENERAL] pasting into psql garbles tex... Greg Stark
- Re: [GENERAL] pasting into psql garbles... Merlin Moncure
- Re: [GENERAL] pasting into psql gar... Greg Stark
- Re: [GENERAL] pasting into psql gar... Tom Lane
- Re: [GENERAL] pasting into psql... Merlin Moncure
- Re: [GENERAL] pasting into... Tom Lane
- Re: [GENERAL] pasting ... Роман Маширов
- Re: [GENERAL] pasting ... Merlin Moncure
- Re: [GENERAL] pasting into psql garbles tex... Leif B. Kristensen
- Re: [GENERAL] pasting into psql garbles tex... Jasen Betts
- Re: [GENERAL] pasting into psql garbles tex... Cédric Villemain
- Re: [GENERAL] pasting into psql garbles... Scott Mead
