Search Postgresql Archives

Re: Cosmetically-varying casts added to view definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 30, 2018 at 4:52 PM Adrian Klaver <adrian.klaver@xxxxxxxxxxx> wrote:
On 07/30/2018 04:29 PM, Ken Tanzer wrote:
> On Mon, Jul 30, 2018 at 4:10 PM Adrian Klaver <adrian.klaver@xxxxxxxxxxx

> Thanks Adrian.  I do have what are supposed to be the original view
> definitions, but I'm less than 100% confident they are accurate and
> up-to-date, which is why I thought to use the actual definitions as
> stored.  Might have to rethink that one though, or just take a leap of
> faith that the views will functionally be the same!

Or write a test or tests to verify they are the same.

How would you do that exactly?  I can see verifying that they return the same rows given existing data, but not that this would be true with different data.

Did you mean comparing the returned results, writing some view-specific tests on a case-by-case basis, or something way way better that I'm not grasping?

Thanks!

Ken
 
--
AGENCY Software  
A Free Software data system
By and for non-profits
(253) 245-3801

learn more about AGENCY or
follow the discussion.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux