Bahramand Tangi

Bahramand Tangi is a Pakistani politician who has been a Member of the Senate of Pakistan, since March 2018.

Senator

Bahramand Tangi
Member of the Senate of Pakistan
Assumed office
12 March 2018
Personal details
NationalityPakistani
Political partyPakistan Peoples Party

Political career

Tangi was elected to the Senate of Pakistan as a candidate of Pakistan Peoples Party on general seat from Khyber Pakhtunkhwa in 2018 Pakistani Senate election.[1][2] He took oath as Senator on 12 March 2018.[3]

gollark: What? Why does it say it's doing a sequential scan now? Æ all is bee.
gollark: Slower, even.
gollark: Oops, it turns out I'm accidentally sorting by it instead of the rank, but it's equally slow after fixing that.
gollark: ```nonlocality=# EXPLAIN ANALYZE SELECT url, ts_rank(fts, query), ts_headline(fts::text, query, 'MaxWords=60') AS rank FROM pages, websearch_to_tsquery('bee') query WHERE fts @@ query ORDER BY rank LIMIT 1; QUERY PLAN ------------------------------------------------------------------------------------------------------------------------------------------------- Limit (cost=860.92..860.92 rows=1 width=96) (actual time=8506.425..8506.427 rows=1 loops=1) -> Sort (cost=860.92..861.05 rows=52 width=96) (actual time=8506.423..8506.425 rows=1 loops=1) Sort Key: (ts_headline((pages.fts)::text, query.query, 'MaxWords=60'::text)) Sort Method: top-N heapsort Memory: 25kB -> Nested Loop (cost=688.65..860.66 rows=52 width=96) (actual time=1.362..8505.403 rows=348 loops=1) -> Function Scan on websearch_to_tsquery query (cost=0.25..0.26 rows=1 width=32) (actual time=0.023..0.025 rows=1 loops=1) -> Bitmap Heap Scan on pages (cost=688.40..846.49 rows=52 width=142) (actual time=0.353..1.502 rows=348 loops=1) Recheck Cond: (fts @@ query.query) Heap Blocks: exact=231 -> Bitmap Index Scan on page_search_index (cost=0.00..688.39 rows=52 width=0) (actual time=0.320..0.320 rows=387 loops=1) Index Cond: (fts @@ query.query) Planning Time: 0.190 ms Execution Time: 8506.463 ms(13 rows)```
gollark: It's not a condition, it's an extra row on the output, and I can see exactly what it does via `EXPLAIN ANALYZE`.

References

  1. "LIVE: PML-N-backed independent candidates lead in Punjab, PPP in Sindh - The Express Tribune". The Express Tribune. 3 March 2018. Retrieved 3 March 2018.
  2. Khan, Iftikhar A. (4 March 2018). "PML-N gains Senate control amid surprise PPP showing". DAWN.COM. Retrieved 4 March 2018.
  3. "Senate elect opposition-backed Sanjrani chairman and Mandviwala his deputy". The News. 12 March 2018. Archived from the original on 12 March 2018. Retrieved 12 March 2018.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.