agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-sql@postgresql.org
Subject: Re: Large Objects
Date: Fri, 7 Oct 2016 21:41:51 +0200
Message-ID: <nt8tpv$bp$1@blaine.gmane.org> (raw)
In-Reply-To: <95bef507-ed75-2ca9-7914-2a243d326ab3@purtz.de>
References: <8d8248b8-8535-787b-5cb7-f081be778b70@purtz.de>
	<CAFj8pRCRGeVoa0ihxqSSWJHeHuMM8zaNBT0_StO9isSf2KBePQ@mail.gmail.com>
	<c93ecc97-a550-940f-0d26-e500db84aa7b@aklaver.com>
	<95bef507-ed75-2ca9-7914-2a243d326ab3@purtz.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

Jürgen Purtz schrieb am 07.10.2016 um 21:31:
> - Types a) and b) are named identical in the standard and in Postgres
> (CHAR/VARCHAR). Data type c) is named CLOB in the standard and TEXT
> in Postgres.

>Why this different wording, if there is no real
> difference between the terms?

I guess because of historical reasons.

But if you need CLOB, then just define it:

   create domain clob as text;
   create table foo (id integer, c1 clob);

Although I do agree that it would make sense to create CLOB as an alias for text and BLOB an alias for bytea.



-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (16+ messages)

Message-ID: <nt8tpv$bp$1@blaine.gmane.org>
Permalink:  ../nt8tpv$bp$1@blaine.gmane.org/
Also on:    postgresql.org/message-id/nt8tpv$bp$1@blaine.gmane.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: Large Objects
  In-Reply-To: <nt8tpv$bp$1@blaine.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox