<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 &quot;column &quot;parental_path&quot; cannot be cast automatically to type tsvector&quot;.<br><br>ALTER TABLE SCHEMA.TABLE ALTER COLUMN COLUMN_NAME  TYPE tsvector;<br><br>ERROR:  column &quot;parental_path&quot; cannot be cast automatically to type tsvector<br>HINT:  You might need to specify &quot;USING parental_path::tsvector&quot;.<br><br>Q). Are we have any automatically changing mechanism for this type of conversion?.<br><br>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<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>