Re: Duda sobre como imprimir un campo INTERVAL

2022-11-19 Thread Tom Lane
Ken Tanzer writes: > Thanks. I could understand that they're not identical. But then what's > going on where Postgres evaluates them as equal? (i1=i2 above.) Are the > two intervals getting cast or converted to something else before they are > compared, with whatever makes them non-identical

Re: Duda sobre como imprimir un campo INTERVAL

2022-11-19 Thread Ken Tanzer
On Sat, Nov 19, 2022 at 2:39 AM Alban Hertroys wrote: > > > > don't fully understand it. But what really confuses me is the example > below. How can these two intervals be equal and still yield different > output in the to_char function? And as a practical matter, and for the OPs > question, h

Re: Duda sobre como imprimir un campo INTERVAL

2022-11-19 Thread Alban Hertroys
> On 19 Nov 2022, at 4:58, Ken Tanzer wrote: > > On Thu, Nov 17, 2022 at 2:30 PM Alejandro Baeza Rangel > wrote: (…) > don't fully understand it. But what really confuses me is the example below. > How can these two intervals be equal and still yield different output in the > to_char fu

Re: Duda sobre como imprimir un campo INTERVAL

2022-11-18 Thread Ken Tanzer
On Thu, Nov 17, 2022 at 2:30 PM Alejandro Baeza Rangel < jlabaezaran...@gmail.com> wrote: > Buenas tardes, tengo esta tabla > [image: image.png] > como puedo en un report, representar la columna tiempo > ya que le pongo directo un print y me sale: > [image: image.png] > > alguna sugerencia? > As