Re: "Some tests to cover hash_index" - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: "Some tests to cover hash_index"
Date
Msg-id 20160920182629.GA645491@alvherre.pgsql
Whole thread Raw
In response to Re: "Some tests to cover hash_index"  (Mithun Cy <mithun.cy@enterprisedb.com>)
Responses Re: "Some tests to cover hash_index"  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Why not use generate_series() queries to insert the appropriate number
of tuples, instead of a handful of INSERT lines each time?  Since each
insert is a separate transaction, that would probably be faster.

Why do you have a plpgsql function just to create a cursor?  Wouldn't it
be simpler to create the cursor in an SQL statement?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [PATCH] get_home_path: use HOME
Next
From: David Fetter
Date:
Subject: Re: PoC: Make it possible to disallow WHERE-less UPDATE and DELETE