Re: Changing the Datatype from Bit to Boolean. - Mailing list pgsql-admin

From Holger Jakobs
Subject Re: Changing the Datatype from Bit to Boolean.
Date
Msg-id 2535C845-8EF5-490B-B94E-A0E2F6D683C6@jakobs.com
Whole thread Raw
In response to Re: Changing the Datatype from Bit to Boolean.  (Mark Smith <mark@zoneget.com>)
List pgsql-admin
Don't hijack threads!
--
Holger Jakobs, Bergisch Gladbach
Tel. +49 178 9759012


Am 23. Februar 2025 15:46:10 MEZ schrieb Mark Smith <mark@zoneget.com>:
I am new to PostgreSQL. I am trying to restore a db downloaded from GitHub. Pg_restore is coming with error when tried using pgAdmin.  Can you tell what the reason could be?

Thanks for your help.

Mark

From: hellen jiang <hellenjiang99@gmail.com>
Sent: Sunday, February 23, 2025 8:13:05 AM
To: Gambhir Singh <gambhir.singh05@gmail.com>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: Changing the Datatype from Bit to Boolean.
 

you can add one new column(boolean) and then remove the BIT column。

On Sun, Feb 23, 2025, 12:58 AM Gambhir Singh <gambhir.singh05@gmail.com> wrote:

Hi,

Aurora PostgreSQL DB has a table in which one column has the datatype BIT(1). Now the requirement is that I have to change the datatype of that column from BIT to BOOLEAN. There are only a few rows in the table.

--
Thanks & Regards
Gambhir Singh

pgsql-admin by date:

Previous
From: Mark Smith
Date:
Subject: Re: Changing the Datatype from Bit to Boolean.
Next
From: Ron Johnson
Date:
Subject: vacuumdb and a long list of tables