Re: Large Objects

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Large Objects
Date: 2016-10-07 19:41:51
Message-ID: nt8tpv$bp$1@blaine.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Adelo Herrero Pérez 2016-10-08 07:35:58 Re: How to get the position of each record in a SELECT statement
Previous Message Jürgen Purtz 2016-10-07 19:31:29 Re: Large Objects