Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> writes:
> On Tue, Oct 2, 2018 at 9:22 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> (I think we could drop the savepoint
>> too, no?)
> One advantage of keeping the savepoint is that we don't need to
> explicitly drop the objects which we have created temporarily for this
> test.
They'll go away anyway at the end of the transaction that the whole
script is wrapped in. (But it might be worth choosing slightly less
generic object names, to avoid a conflict against other sub-tests
later in that script.)
regards, tom lane