Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CLOB in Postgresql

I'm trying to migrate from Oracle to Postgresql database.

I have some clob column types at Oracle DB:

Here is my questions.

  1. Is the TEXT type equivelant for the CLOB in ORACLE DB?

  2. Are there any risk for directly convert it to the TEXT? I think TEXT limit is 1gb for the POSTGRE and CLOB limit is 4GB in Oracle?

like image 389
javauser35 Avatar asked Oct 18 '25 23:10

javauser35


1 Answers

Yes, TEXT is a good equivalent in PostgreSQL to CLOB in Oracle. But max size for TEXT is roughly 1GB whereas max for CLOB is 4GB.

like image 177
Greg Brown Avatar answered Oct 22 '25 03:10

Greg Brown