Re: Fwd: compressed bits in sql table

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Fwd: compressed bits in sql table
Date: 2018-06-09 23:29:54
Message-ID: e4c26c00-a131-d77d-1223-e1820a7162e8@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

Are you asking how to SELECT ... WHERE based on individual bits in this
CHAR(32) field?

How were the bits encoded in the first place?

On 06/09/2018 05:43 PM, SANDEEP GOURNENI wrote:
> Postgres version is 10.4
> field type is char(32).basically its a fee bit field.
> it is related to my application.
>
> thanks,
> Sandeep
>
> On Sun, Jun 10, 2018 at 4:04 AM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com
> <mailto:adrian(dot)klaver(at)aklaver(dot)com>> wrote:
>
> On 06/09/2018 02:40 PM, SANDEEP GOURNENI wrote:
> >
> > Hi all,
> >
> > How can we read compressed bits in postgres.In one of my table field  i
> > have compressed bits.how to read and write them in postgres using cobol
> > program.
>
> You are going to need to be more specific:
>
> 1) What version of Postgres?
>
> 2) What is the field type?
>
> 3) Are you referring to the TOAST table?
>

--
Angular momentum makes the world go 'round.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Adrian Klaver 2018-06-09 23:43:21 Re: Fwd: compressed bits in sql table
Previous Message SANDEEP GOURNENI 2018-06-09 22:43:24 Re: Fwd: compressed bits in sql table

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-06-09 23:43:21 Re: Fwd: compressed bits in sql table
Previous Message SANDEEP GOURNENI 2018-06-09 22:43:24 Re: Fwd: compressed bits in sql table