Search Postgresql Archives
libpq prepared statement insert null for foreign key
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Subject
: libpq prepared statement insert null for foreign key
From
: Ted Toth <txtoth@xxxxxxxxx>
Date
: Mon, 9 Mar 2020 19:00:51 -0500
I tries setting the parameter for the foreign NULL:
params[i] = NULL;
and I get a 'Key not present in table ...' error. How do I insert a record where I don't have a foreign key yet?
Ted
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Follow-Ups
:
Re: libpq prepared statement insert null for foreign key
From:
Adrian Klaver
Prev by Date:
Re: gdal version for Postgis 2.4?
Next by Date:
Re: libpq prepared statement insert null for foreign key
Previous by thread:
gdal version for Postgis 2.4?
Next by thread:
Re: libpq prepared statement insert null for foreign key
Index(es):
Date
Thread
[Index of Archives]
[Postgresql Jobs]
[Postgresql Admin]
[Postgresql Performance]
[Linux Clusters]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[PHP Books]
[PHP Databases]
[Postgresql & PHP]
[Yosemite]