Re: Changing the Datatype from Bit to Boolean.

From: Holger Jakobs <holger(at)jakobs(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Changing the Datatype from Bit to Boolean.
Date: 2025-02-23 15:27:42
Message-ID: 2535C845-8EF5-490B-B94E-A0E2F6D683C6@jakobs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)zoneget(dot)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
>
>Get Outlook for iOS<https://aka.ms/o0ukef>
>________________________________
>From: hellen jiang <hellenjiang99(at)gmail(dot)com>
>Sent: Sunday, February 23, 2025 8:13:05 AM
>To: Gambhir Singh <gambhir(dot)singh05(at)gmail(dot)com>
>Cc: pgsql-admin(at)lists(dot)postgresql(dot)org <pgsql-admin(at)lists(dot)postgresql(dot)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(dot)singh05(at)gmail(dot)com<mailto:gambhir(dot)singh05(at)gmail(dot)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
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ron Johnson 2025-02-23 18:09:21 vacuumdb and a long list of tables
Previous Message Mark Smith 2025-02-23 14:46:10 Re: Changing the Datatype from Bit to Boolean.