Re: Increase pltcl test coverage

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Karl Lehenbauer <karl(at)flightaware(dot)com>
Subject: Re: Increase pltcl test coverage
Date: 2016-12-29 21:46:56
Message-ID: 685b4b23-6d5d-f302-6c4c-5c009b2cf368@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10/31/16 3:24 PM, Jim Nasby wrote:
> This patch increases test coverage for pltcl, from 70% to 83%. Aside
> from that, the work on this uncovered 2 new bugs (the trigger return one
> I just submitted, as well as a bug in the SRF/composite patch).

Rebased patch attached. Test coverage is now at 85% (by line count).

Original patch by Karl Lehenbauer. Work sponsored by FlightAware.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)

Attachment Content-Type Size
pltcl_coverage_2.patch text/plain 20.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Seltenreich 2016-12-29 22:14:13 Re: [sqlsmith] Crash reading pg_stat_activity
Previous Message Tom Lane 2016-12-29 21:18:42 Re: gettimeofday is at the end of its usefulness?