Home:ALL Converter>PostgreSQL Clob datatype

PostgreSQL Clob datatype

Ask Time:2018-04-22T15:34:50         Author:Tino M Thomas

Json Formatter

PostgreSQL supports both clob and text data types for storing large texts. I've used clob data type as we are migrating the DB from Oracle. I understand that the clob data type in PostgreSQL can only store up to 1GB of text rather than the 4GB in oracle.

Since my text size is well below 1GB, I am fine with using either of these types. So can I use PostgreSQL clob datatype or is there any advantage for text datatype over clob?

Any help will be much appreciated and Thanks in Advance.

Author:Tino M Thomas,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/49963618/postgresql-clob-datatype
yy