pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erik Wienhold <ewie@ewie.name>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: AW: AW: Cast INTEGER to BIT confusion
Date: Thu, 17 Aug 2023 15:37:21 +0200 (CEST)
Message-ID: <2102137877.358573.1692279441321@office.mailbox.org> (raw)
In-Reply-To: <1819966.1692278294@sss.pgh.pa.us>
References: <fbc716336d544e93b6af5e11af3e4aa0@quipsy.de>
	<533487381.212078.1692100096551@office.mailbox.org>
	<84bd46dba5ec4097ba9663f46a1e5754@quipsy.de>
	<400164688.228966.1692109673749@office.mailbox.org>
	<015a3586e6dc40e0b1c3a4a1f3b1e44c@quipsy.de>
	<1819966.1692278294@sss.pgh.pa.us>

> On 17/08/2023 15:18 CEST Tom Lane <tgl@sss.pgh.pa.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





view thread (6+ messages)  latest in thread

Message-ID: <2102137877.358573.1692279441321@office.mailbox.org>
Permalink:  ../2102137877.358573.1692279441321@office.mailbox.org/
Also on:    postgresql.org/message-id/2102137877.358573.1692279441321@office.mailbox.org

 · 

reply

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-general@postgresql.org
  Cc: ewie@ewie.name, tgl@sss.pgh.pa.us
  Subject: Re: Cast INTEGER to BIT confusion
  In-Reply-To: <2102137877.358573.1692279441321@office.mailbox.org>
  References: <fbc716336d544e93b6af5e11af3e4aa0@quipsy.de> <533487381.212078.1692100096551@office.mailbox.org> <84bd46dba5ec4097ba9663f46a1e5754@quipsy.de> <400164688.228966.1692109673749@office.mailbox.org> <015a3586e6dc40e0b1c3a4a1f3b1e44c@quipsy.de> <1819966.1692278294@sss.pgh.pa.us> <2102137877.358573.1692279441321@office.mailbox.org>

* 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