Re: Problem with displaying "wide" tables in psql

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Greg Stark <stark(at)mit(dot)edu>
Cc: 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>, Sergey Muraviov <sergey(dot)k(dot)muraviov(at)gmail(dot)com>
Subject: Re: Problem with displaying "wide" tables in psql
Date: 2014-04-29 01:52:04
Message-ID: 1398736324.13830.1.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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);
^

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergey Muraviov 2014-04-29 03:37:39 Re: Problem with displaying "wide" tables in psql
Previous Message Kohei KaiGai 2014-04-29 01:07:28 Re: Custom Scan APIs (Re: Custom Plan node)