Re: AW: AW: Cast INTEGER to BIT confusion

From: Erik Wienhold <ewie(at)ewie(dot)name>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: AW: AW: Cast INTEGER to BIT confusion
Date: 2023-08-17 13:37:21
Message-ID: 2102137877.358573.1692279441321@office.mailbox.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On 17/08/2023 15:18 CEST Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> That's probably because the grammar uses SystemTypeName (effectively
> prepending "pg_catalog.") for any type that has special syntax called
> out in the SQL standard. You could get around that in various ways,
> but they all involve changing the way the CREATE TABLE command is
> written, because just plain "BIT" is a SQL-mandated special case.

The answer I was looking for. Thanks Tom.

--
Erik

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2023-08-17 14:35:32 Aw: Re: Fatal Error : Invalid Memory alloc request size 1236252631
Previous Message Sai Teja 2023-08-17 13:35:55 Re: Fatal Error : Invalid Memory alloc request size 1236252631