It should be much easier by using postgres 9.5+

https://hashrocket.com/blog/posts/upsert-records-with-postgresql-9-5


Am 18.04.2017 10:04 AM schrieb "Roger Davies" <rog.dav...@gmail.com>:

> Hi
>
> Just wondering if someone has a Postgres equivalent of
> greenbonde-scapdata-sync and greenbone-certdata-sync.
>
> The xsl SQL uses 'INSERT OR REPLACE" which is sqllite specific, so I get
> an error when running them.
>
> Can't seem to find anything online.
>
> Thanks
>
> Roger
>
>
> _______________________________________________
> Openvas-discuss mailing list
> Openvas-discuss@wald.intevation.org
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>
_______________________________________________
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to