<div dir="ltr">Hi Team,<br>Thanks for your support.<br><br>Could you please suggest on below query. <br><br>We are trying to changing the data type of the column, but for every time triggering "column "parental_path" cannot be cast automatically to type tsvector".<br><br>ALTER TABLE SCHEMA.TABLE ALTER COLUMN COLUMN_NAME TYPE tsvector;<br><br>ERROR: column "parental_path" cannot be cast automatically to type tsvector<br>HINT: You might need to specify "USING parental_path::tsvector".<br><br>Q). Are we have any automatically changing mechanism for this type of conversion?.<br><br>>>>>>>>>>>>>><br><br>Even after changing, getting below error.<br><br>
ALTER TABLE SCHEMA.TABLE ALTER COLUMN COLUMN_NAME TYPE tsvector;
<br>ERROR: word is too long (2087 bytes, max 2046 bytes)<br><br>Q)Suggest, how to avoid these situations?.<br><br>Thanks for your support.<br><br>Regards,<br>PostgAnn.<br></div>