Re: Add some regression tests for SEQUENCE
Robins Tharakan <tharakan@gmail.com>
From: robins <tharakan@gmail.com>
To: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2013-03-15T20:33:37Z
Lists: pgsql-hackers
Attachments
- regress-sequence.patch (application/octet-stream) patch
Hi, I've added some regression tests for SEQUENCE. A cumulative patch is attached. Barring a (still to decipher) function seq_redo() and trying to learn how to actually test it, this takes care of most branches of ( src/backend/commands/sequence.c) taking code-coverage (of 'make check') to ~95%. Any feedback is more than welcome. -- Robins Tharakan On 13 March 2013 15:41, robins <tharakan@gmail.com> wrote: > Thanks Laurenz. > > Would correct these (and readup) before submitting next patch. > > -- > Robins > Tharakan > > > On 13 March 2013 13:49, Albe Laurenz <laurenz.albe@wien.gv.at> wrote: > >> robins wrote: >> > Attached is a small patch to test corner cases related to Sequences >> (basically aimed at increasing >> > code-coverage of sequence.sql in regression tests). >> > >> > Look forward to any and all feedback. >> >> Looks ok except that the patch is backwards >> (all added lines start with "-"). I found a typo: >> "exit" instead of "exist". >> >> You should add the patch to the next commitfest >> (http://wiki.postgresql.org/wiki/Submitting_a_Patch). >> >> Yours, >> Laurenz Albe >> > >
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Allow CREATE FOREIGN TABLE to include SERIAL columns.
- b14206862278 9.3.0 cited