<div dir="ltr">Hello,<div><br></div><div>I am using postgres  with BDR bidirectional replication which requires primary keys for the freeswitch tables.</div><div><br></div><div> So far so good , except freeswitch is complaining about one table here is the error<br></div><div><br></div><div>2021-10-26 23:40:47.772796 95.47% [DEBUG] mod_pgsql.c:784 Query (insert into complete values (0,'hash_remote', 'list', '', '', '', '', '', '', '', '',  'dagobah-api-gw-1-2')) returned PGRES_FATAL_ERROR<br>2021-10-26 23:40:47.772796 95.47% [ERR] mod_pgsql.c:551 Error executing query:<br>ERROR:  column "complete_uuid" is of type uuid but expression is of type integer<br>LINE 1: insert into complete values (0,'hash_remote', 'list', '', ''...<br></div><div><br></div><div>What I noticed is that freeswitch is doing an INSERT INTO command with no column names specified. I checked the source code and found this to be the only case for the "complete" table whereas the other tables when INSERT INTO is used column names are specified. </div><div><br></div><div>Here is the structure of my  complete table with the new column complete_uuid as primary key.</div><div><br></div><div>CREATE TABLE :myschema.complete (<br>complete_uuid uuid DEFAULT public.gen_random_uuid() PRIMARY KEY,<br>sticky  INTEGER,<br>a1  VARCHAR(128),<br>a2  VARCHAR(128),<br>a3  VARCHAR(128),<br>a4  VARCHAR(128),<br>a5  VARCHAR(128),<br>a6  VARCHAR(128),<br>a7  VARCHAR(128),<br>a8  VARCHAR(128),<br>a9  VARCHAR(128),<br>a10 VARCHAR(128),<br>hostname VARCHAR(256)<br>        );<br></div><div><br></div><div>Any suggestions?</div><div><br></div><div>Thanks </div><div><br></div><div>Abdirahman A. Osman</div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><br></div></div></div></div></div></div></div>