How to calculate length of path data without diagonals? - Mailing list pgsql-general

From Romain Billoir
Subject How to calculate length of path data without diagonals?
Date
Msg-id AANLkTikJ2UUT9cg6i=GZvOo4QYYO3NdVPEk2taU1r1bP@mail.gmail.com
Whole thread Raw
Responses Re: How to calculate length of path data without diagonals?  (John R Pierce <pierce@hogranch.com>)
Re: How to calculate length of path data without diagonals?  (Stephen Cook <sclists@gmail.com>)
List pgsql-general
Hi, i need to calculate some length of path without diagonal. Some examples:
length((5,5),(6,6))) returns 1.41. I need 2: 5,5 to 5,6 + 5,6 to 6,6.

Is that possible?

pgsql-general by date:

Previous
From: Reto Schöning
Date:
Subject: Re: "could not accept SSPI security context"
Next
From: John R Pierce
Date:
Subject: Re: How to calculate length of path data without diagonals?