Re: How do I check for NULL

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Juan Rodrigo Alejandro Burgos Mella <rodrigoburgosmella(at)gmail(dot)com>
Cc: Igor Korot <ikorot01(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: How do I check for NULL
Date: 2025-12-09 21:56:24
Message-ID: CAKFQuwY4c=LGLgBCWnPMHDOSEk2Me4=KnbedpfZOvpKQ=PzM=g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Dec 9, 2025 at 1:40 PM Juan Rodrigo Alejandro Burgos Mella <
rodrigoburgosmella(at)gmail(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thiemo Kellner 2025-12-09 22:33:13 Re: How do I check for NULL
Previous Message Tzuriel Kahlon 2025-12-09 20:51:58 Re: Ecpg fetch issue