Search Postgresql Archives

libpq prepared statement insert null for foreign key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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]
[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]

  Powered by Linux