Re: Convert date and time colums to datetime

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Convert date and time colums to datetime
Date: 2025-10-20 13:00:19
Message-ID: CANzqJaBeBHenwbUjKyp4+9TAXgFaKnV4U4ef88ezPhs5P10w-g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Oct 20, 2025 at 8:58 AM Rich Shepard <rshepard(at)appl-ecosys(dot)com>
wrote:

> On Mon, 20 Oct 2025, Rob Sargent wrote:
>
> >> Okay. Now I'm curious: why do you write this?
>
> > The way I read your description of how you use these columns currently
> > suggests to me that they could be handled by a single timestamp column.
> > The cost/benefit of converting is another thing altogether.
>
> Rob,
>
> Since either way works I'll save the time cost of converting because my
> tables will never be really large.
>

Virtual columns exist: have both!

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2025-10-20 13:26:32 Re: Convert date and time colums to datetime
Previous Message Rich Shepard 2025-10-20 12:58:16 Re: Convert date and time colums to datetime