Re: Convert date and time colums to datetime

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Convert date and time colums to datetime
Date: 2025-10-20 02:32:07
Message-ID: 3F3B9CFD-3901-4689-A38C-84CFA767D02E@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Oct 19, 2025, at 2:38 PM, Rich Shepard <rshepard(at)appl-ecosys(dot)com> wrote:
>
> On Sun, 19 Oct 2025, Rob Sargent wrote:
>
>> I think you have to ask why those values were separated in the first
>> place. For instance if they are thought of as a pair in most queries then
>> an alteration might be in order. There can be a large one time cost if
>> these tables occur in a lot of separate sql calls in the business logic.
>
> Rob,
>
> Good point. They're in the contacts table and I use them to determine when
> to make another contact and if prior contacts were more productive in the
> morning or afternoon.
>
> Thanks,
>
> Rich
>
>

Definitely a datetime (single value) problem, imho

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter J. Holzer 2025-10-20 11:05:38 Re: Convert date and time colums to datetime
Previous Message Rich Shepard 2025-10-19 21:49:01 Re: Arrays vs separate tables