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 [email protected]
Whole thread Raw
In response to Re: "Some tests to cover hash_index"  (Mithun Cy <[email protected]>)
Responses Re: "Some tests to cover hash_index"
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