public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Juan Rodrigo Alejandro Burgos Mella <[email protected]>
Cc: Igor Korot <[email protected]>
Cc: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: How do I check for NULL
Date: Tue, 9 Dec 2025 14:56:24 -0700
Message-ID: <CAKFQuwY4c=LGLgBCWnPMHDOSEk2Me4=KnbedpfZOvpKQ=PzM=g@mail.gmail.com> (raw)
In-Reply-To: <CAHbZ42z=Xp3VYARgipRcp0cBBQP+rNNUgoAp2dPzKbgDqPapxQ@mail.gmail.com>
References: <CA+FnnTw=18Rba2XgceRUFKQo5P7Xf9QhXT6wKF=DgzYT6K9-sw@mail.gmail.com>
	<CAHbZ42z=Xp3VYARgipRcp0cBBQP+rNNUgoAp2dPzKbgDqPapxQ@mail.gmail.com>

On Tue, Dec 9, 2025 at 1:40 PM Juan Rodrigo Alejandro Burgos Mella <
[email protected]> 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.


view thread (14+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: How do I check for NULL
  In-Reply-To: <CAKFQuwY4c=LGLgBCWnPMHDOSEk2Me4=KnbedpfZOvpKQ=PzM=g@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox