Re: very long record lines in expanded psql output - Mailing list pgsql-hackers

From Platon Pronko
Subject Re: very long record lines in expanded psql output
Date
Msg-id 27f30f68-c4bd-2f02-080c-8feb0b6eded3@gmail.com
Whole thread Raw
In response to Re: very long record lines in expanded psql output  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: very long record lines in expanded psql output  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Hi!

pspg looks nice :)

> Your proposal breaks pspg
> 
> https://github.com/okbob/pspg

I tried the following (after the patch):

./psql template1 -c "select n, repeat('x', n) as long_column_name from unnest(array[42,210]) as n" | pspg

And it seems that pspg handled the situation without any issue. Also I tried inserting newlines into the output, and
pspgstill performed without issue. Can you give an example of scenario which should break after changing the record
headerlength?
 

Best regards,
Platon Pronko



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: very long record lines in expanded psql output
Next
From: Dipesh Pandit
Date:
Subject: Re: .ready and .done files considered harmful