mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
member ip inserts DO NOTHING on conflict
This commit is contained in:
parent
f6026f94a5
commit
0d42108254
1 changed files with 1 additions and 1 deletions
|
@ -989,7 +989,7 @@ void PostgreSQL::commitThread()
|
||||||
};
|
};
|
||||||
|
|
||||||
res = PQexecParams(conn,
|
res = PQexecParams(conn,
|
||||||
"INSERT INTO ztc_member_ip_assignment (member_id, network_id, address) VALUES ($1, $2, $3)",
|
"INSERT INTO ztc_member_ip_assignment (member_id, network_id, address) VALUES ($1, $2, $3) ON CONFLICT (network_id, member_id, address) DO NOTHING",
|
||||||
3,
|
3,
|
||||||
NULL,
|
NULL,
|
||||||
v3,
|
v3,
|
||||||
|
|
Loading…
Add table
Reference in a new issue