pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Andrus <kobruleht2@hot.ee>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Using compression on TCP transfer
Date: Tue, 31 Mar 2020 14:33:55 +0200
Message-ID: <1e7536de1cb9e1097d1c8faf07a08bf66d8eeead.camel@cybertec.at> (raw)
In-Reply-To: <5DB1E9D2ADDB4BA0ABDF602235234BCC@dell2>
References: <45AE45823FB844ED80186DE14DCC5B14@dell2>
	<b50c974b0d423dd7e6c500b59a31895d4278efa9.camel@cybertec.at>
	<5DB1E9D2ADDB4BA0ABDF602235234BCC@dell2>

On Tue, 2020-03-31 at 15:13 +0300, Andrus wrote:
> > It is a simple ALTER TABLE.
> 
> Client is Visual FoxPro application. It sends data with trailing spaces 
> sometimes and sometimes not.
> In case of varchar field values will appear in database sometimes with 
> trailing spaces and sometimes without.
> This requires major application re-design which much is more expensive than 
> continuing using char fields.

A simple BEFORE INSERT OR UPDATE trigger would take care of that.

> > You'd have to use an OpenSSL library with compression support enabled.
> 
> Should I change OpenSSL installed from standard repository in Debian server 
> or can it changed only for PostgreSql.
> How ?

I don't know if Debian's binaries are built with compression support,
probably not.  You can build OpenSSL yourself and make PostgreSQL
use these binaries.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (10+ messages)  latest in thread

Message-ID: <1e7536de1cb9e1097d1c8faf07a08bf66d8eeead.camel@cybertec.at>
Permalink:  ../1e7536de1cb9e1097d1c8faf07a08bf66d8eeead.camel@cybertec.at/
Also on:    postgresql.org/message-id/1e7536de1cb9e1097d1c8faf07a08bf66d8eeead.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, kobruleht2@hot.ee
  Subject: Re: Using compression on TCP transfer
  In-Reply-To: <1e7536de1cb9e1097d1c8faf07a08bf66d8eeead.camel@cybertec.at>
  References: <45AE45823FB844ED80186DE14DCC5B14@dell2> <b50c974b0d423dd7e6c500b59a31895d4278efa9.camel@cybertec.at> <5DB1E9D2ADDB4BA0ABDF602235234BCC@dell2> <1e7536de1cb9e1097d1c8faf07a08bf66d8eeead.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox