Table:
\d blob
Column | Type | Collation | Default
---------+--------------+-----------+------------------------------------------
id | integer | | nextval('modlink_blob_id_seq'::regclass)
content | bytea | |
This statement:
SELECT COUNT(*) "job" INNER JOIN "blob" ON ("job"."input_id" = "blob"."id")
WHERE UPPER("blob"."content"::text) LIKE UPPER('%csv%');
Error message:
ERROR: invalid memory alloc request size 1989028364
What can I do to make this statement not fail?
byteacolumn? That makes no sense. Atextcolumn would be a lot easier to deal with