Re: How do I check for NULL - Mailing list pgsql-general

From David G. Johnston
Subject Re: How do I check for NULL
Date
Msg-id CAKFQuwY4c=LGLgBCWnPMHDOSEk2Me4=KnbedpfZOvpKQ=PzM=g@mail.gmail.com
Whole thread Raw
In response to Re: How do I check for NULL  (Juan Rodrigo Alejandro Burgos Mella <rodrigoburgosmella@gmail.com>)
List pgsql-general
On Tue, Dec 9, 2025 at 1:40 PM Juan Rodrigo Alejandro Burgos Mella <rodrigoburgosmella@gmail.com> wrote:

Did you try setting a default value to the field?


Defaults don't work if you actually intend to conditionally override them -- or at least it requires something beyond a simple self-contained SQL command to accomplish.

David J.

pgsql-general by date:

Previous
From: Tzuriel Kahlon
Date:
Subject: Re: Ecpg fetch issue
Next
From: Thiemo Kellner
Date:
Subject: Re: How do I check for NULL