irina(dot)guberman(at)gmail(dot)com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 13665
> Logged by: Irina
> Email address: irina(dot)guberman(at)gmail(dot)com
> PostgreSQL version: 9.4.4
> Operating system: Mac
> Description:
>
> I can enter rows with null value in a foreign key constrained column.
Yes. This is not a bug. If you want to prohibit NULL values, you need
to declare the column as NOT NULL.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services