Re: Problem with displaying "wide" tables in psql

From: Sergey Muraviov <sergey(dot)k(dot)muraviov(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Greg Stark <stark(at)mit(dot)edu>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Emre Hasegeli <emre(at)hasegeli(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Andres Freund <andres(at)2ndquadrant(dot)com>
Subject: Re: Problem with displaying "wide" tables in psql
Date: 2014-04-29 03:37:39
Message-ID: CAJTaR30GScYiMtUPeYEUKw3tEdtVfKaP4D3B4_1SaO+d9rqR3Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

fixed

2014-04-29 5:52 GMT+04:00 Peter Eisentraut <peter_e(at)gmx(dot)net>:

> Please fix this compiler warning. I think it came from this patch.
>
>
> print.c: In function ‘print_aligned_vertical’:
> print.c:1354:10: error: pointer targets in passing argument 1 of
> ‘strlen_max_width’ differ in signedness [-Werror=pointer-sign]
> encoding);
> ^
> print.c:126:12: note: expected ‘unsigned char *’ but argument is of type
> ‘char *’
> static int strlen_max_width(unsigned char *str, int *target_width, int
> encoding);
> ^
>
>
>

--
Best regards,
Sergey Muraviov

Attachment Content-Type Size
fix_psql_print_aligned_vertical_v12.patch text/x-patch 107.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2014-04-29 03:43:36 Re: Problem with displaying "wide" tables in psql
Previous Message Peter Eisentraut 2014-04-29 01:52:04 Re: Problem with displaying "wide" tables in psql