Re: Is this a buggy behavior?

From: Erik Wienhold <ewie(at)ewie(dot)name>
To: sud <suds1434(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Is this a buggy behavior?
Date: 2024-03-24 15:39:02
Message-ID: osaota2qdixdv2yhxxiu2ijavuspi4nbpvqsqi7u7fsze5p5a4@ahcnczittlmy
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I wrote:
> Do you come from sqlite? That allows NULL in primary key columns
> without an explicit NOT NULL constraint.

And that's also possible in Postgres with UNIQUE constraints if you're
looking for that behavior.

--
Erik

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thiemo Kellner 2024-03-24 15:41:14 Re: Is this a buggy behavior?
Previous Message Andreas Kretschmer 2024-03-24 15:36:41 Re: Is this a buggy behavior?