Re: pgbench - allow to create partitioned tables - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: pgbench - allow to create partitioned tables
Date
Msg-id alpine.DEB.2.21.1909172021460.9212@lancre
Whole thread Raw
In response to Re: pgbench - allow to create partitioned tables  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: pgbench - allow to create partitioned tables
Re: pgbench - allow to create partitioned tables
Re: pgbench - allow to create partitioned tables
List pgsql-hackers
Attached v9:

  - remove the PART_UNKNOWN and use partitions = -1 to tell
    that there is an error, and partitions >= 1 to print info
  - use search_path to find at most one pgbench_accounts
    It still uses left join because I still think that it is appropriate.
    I added a lateral to avoid repeating the array_position call
    to manage the search_path, and use explicit pg_catalog everywhere.
  - let the wrongly repeated test name as is
  - somehow use pg_checksums tablespace creation method, however:
    - I kept testing that mkdir succeeds
    - I kept escaping single quotes, if the path contains a "'"
    so the only difference is that on some msys platform it may
    avoid some unclear issue.

-- 
Fabien.
Attachment

pgsql-hackers by date:

Previous
From: Paul Draper
Date:
Subject: Re: Implementing Incremental View Maintenance
Next
From: Tom Lane
Date:
Subject: Re: another look at macOS SIP