Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mTd9Y-0000Ea-8n for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Sep 2021 04:49:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mTd9W-0002Uu-Ql for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Sep 2021 04:49:38 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mTd9W-0002Ul-Fu for pgsql-hackers@lists.postgresql.org; Fri, 24 Sep 2021 04:49:38 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mTd9U-0004nS-Cf for pgsql-hackers@lists.postgresql.org; Fri, 24 Sep 2021 04:49:37 +0000 Received: by mail-lf1-x12d.google.com with SMTP id z24so35732982lfu.13 for ; Thu, 23 Sep 2021 21:49:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=d/0ffTwROLu7y7kF7YoP/3V/8zLAO9Olf0Akat3w+Bs=; b=qCrJhRpV+HgaV36ydWvpiGq577jueqVW6Q8UMEHxz4cntcRnQo7oG5xvdk5aK0JRLP MAu1ct7uBCY5Dr5VpsavQXD5cd+dELpbNGEHmr8EXfs87sAO0M6gs1/WOnYlX0rtjxa0 Kxu6FrYd6XkC0775/5a6Q1KL3REusicHOJ2yfk8ZoGPWzSEv4nO7cDqWr6p1tBzi6dYY KJGONv00ESjAVLIheeyVOZaLs04DclYQPxF9TZJdDCatwjEAfhNep2ebn6xF/hP4jwjn MdozNLdvi+u/CF3CjbnI0zuCHwXD3oI4ByQ8osOgmSbUtrlQEab7qYMWdqycPjuwqTv1 tJqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=d/0ffTwROLu7y7kF7YoP/3V/8zLAO9Olf0Akat3w+Bs=; b=vTXkgMIuQzF1VDGhMQCOV8tqqRq7b84O9jKSMJ9XhRa1zkJfAe8X9hf1Sp59yEZTjA KianI44A7JhwnOmc+lP38SPWC+sq4TxmRk690G9F96S7n+h5OS0b1Onlt1LYbysOlS4E s+i70/l2bgva1xzfMDcVuZc7/GKXWtBKdWeXuA3u3j6x+RXRMgxK7Br+YwjZsSY+o7Km 31VBX0ph2jSByLjcENQMmxWlHFy7q+vLq1rM4ddZNYmIiwGB115Znh/GkiMHl/KYyeyp Aty0y42/jxz+Heraph9i5O6CZu5FqSPiTKvMqN7Kx/Hx3cVc/Vq1q3+fFWVrr1KJJzjn ZFjQ== X-Gm-Message-State: AOAM533mTMqDRjZkvnUeHKSryNRlc4OLGxXP0SViATn4S5WRvQnr66n3 +9hSwqgu4vAzeW6kJJczrRXreDuriJU= X-Google-Smtp-Source: ABdhPJw0FpV5zUQQD+bLro9mczD7dsH112msy96/kCmJKmH7t8TKoQEqKhfegm0tpfP9lGj977U3Bg== X-Received: by 2002:ac2:54a3:: with SMTP id w3mr7964138lfk.369.1632458974840; Thu, 23 Sep 2021 21:49:34 -0700 (PDT) Received: from [192.168.1.3] ([46.138.249.39]) by smtp.gmail.com with ESMTPSA id s2sm800221lji.1.2021.09.23.21.49.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Sep 2021 21:49:34 -0700 (PDT) Message-ID: <7bbc7e80-ca37-b601-9081-68d2e84b42af@gmail.com> Date: Fri, 24 Sep 2021 07:49:32 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Subject: Re: very long record lines in expanded psql output Content-Language: en-US To: Andrew Dunstan Cc: PostgreSQL Hackers , Justin Pryzby References: <998a8549-f808-a349-bae6-9f44d07e050d@dunslane.net> <4e8b9a10-95aa-aecf-01a1-cbc24d643465@gmail.com> <66d23848-9f73-abc9-2fbb-3b8abfbb2fce@dunslane.net> <0efd52b9-450a-7636-fb75-663bc2d81b34@gmail.com> <92258bb8-8b9d-8f70-6f34-b5499215204c@dunslane.net> <7f3ef168-0958-a33d-6911-bda8999c30c2@gmail.com> <15de79ff-b872-498f-8b9c-ced62f460936@dunslane.net> From: Platon Pronko In-Reply-To: <15de79ff-b872-498f-8b9c-ced62f460936@dunslane.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-09-23 22:28, Andrew Dunstan wrote: > > 2. It would possibly be better to pass the relevant parts of the options > to print_aligned_vertical_line() rather than the whole options > structure. It feels odd to pass both that and opt_border. What do you think about doing it the other way around - passing only whole options structure? That way we will roll 4 parameters (opt_border, printTextFormat, and two xheader ones) into only one argument. This increases code coupling a bit, but I'm not sure if that's relevant here. Best regards, Platon Pronko