Re: Convert date and time colums to datetime - Mailing list pgsql-general

From Rob Sargent
Subject Re: Convert date and time colums to datetime
Date
Msg-id 3F3B9CFD-3901-4689-A38C-84CFA767D02E@gmail.com
Whole thread Raw
In response to Re: Convert date and time colums to datetime  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Convert date and time colums to datetime
Re: Convert date and time colums to datetime
List pgsql-general

> On Oct 19, 2025, at 2:38 PM, Rich Shepard <rshepard@appl-ecosys.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


pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Re: Arrays vs separate tables
Next
From: "Peter J. Holzer"
Date:
Subject: Re: Convert date and time colums to datetime