From: Adrian Klaver <adrian.klaver@aklaver.com>
To: SANDEEP GOURNENI <sandeepgourneni@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Cc: pgsql-admin@postgresql.org
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Fwd: compressed bits in sql table
Date: Sat, 9 Jun 2018 16:43:21 -0700
Message-ID: <60f803a8-8ae6-9f16-6d28-7558130ab16b@aklaver.com> (raw)
In-Reply-To: <CAB7YabOp+Z9DMuVLuQ7zPJgR3HMmt30y3deRu+fcUML1jsCECg@mail.gmail.com>
References: <CAB7YabOTcSKt3c7g3r2VZxB0TZawT7qykBxC2dSh4v28VLFuxg@mail.gmail.com>
<CAB7YabPX_+NzFaz2Yeqx1Q+speavwZoD-8NG9EhXojYEk=Sw-A@mail.gmail.com>
<52af8d9e-e6bf-9db7-ee4c-29beaaab28ec@aklaver.com>
<CAB7YabOp+Z9DMuVLuQ7zPJgR3HMmt30y3deRu+fcUML1jsCECg@mail.gmail.com>
On 06/09/2018 03:43 PM, SANDEEP GOURNENI wrote:
> Postgres version is 10.4
> field type is char(32).basically its a fee bit field.
Can you explain what you mean by 'fee bit'?
Also not sure why you need to deal with compressed bits, cannot you not
just pull or push a string from/into the field?
> it is related to my application.
>
> thanks,
> Sandeep
>
> On Sun, Jun 10, 2018 at 4:04 AM Adrian Klaver <adrian.klaver@aklaver.com
> <mailto:adrian.klaver@aklaver.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?
>
> >
> > Thanks,
> > Sandeep
> >
>
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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-admin@postgresql.org
Cc: adrian.klaver@aklaver.com, sandeepgourneni@gmail.com, pgsql-general@lists.postgresql.org
Subject: Re: Fwd: compressed bits in sql table
In-Reply-To: <60f803a8-8ae6-9f16-6d28-7558130ab16b@aklaver.com>
References: <CAB7YabOTcSKt3c7g3r2VZxB0TZawT7qykBxC2dSh4v28VLFuxg@mail.gmail.com> <CAB7YabPX_+NzFaz2Yeqx1Q+speavwZoD-8NG9EhXojYEk=Sw-A@mail.gmail.com> <52af8d9e-e6bf-9db7-ee4c-29beaaab28ec@aklaver.com> <CAB7YabOp+Z9DMuVLuQ7zPJgR3HMmt30y3deRu+fcUML1jsCECg@mail.gmail.com> <60f803a8-8ae6-9f16-6d28-7558130ab16b@aklaver.com>
* 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