pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim Nasby <Jim.Nasby@BlueTreble.com>
To: Adam Brusselback <adambrusselback@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Indirect indexes
Date: Fri, 21 Oct 2016 16:08:40 -0500
Message-ID: <b1649a2d-e8bc-0e6c-8963-81a28151515c@BlueTreble.com> (raw)
In-Reply-To: <CAMjNa7fk7gFKtJ7s0AJ2dk+H=dfbt1bTLc9kNimf8ikzObGpWg@mail.gmail.com>
References: <20161018182843.xczrxsa2yd47pnru@alvherre.pgsql>
	<CA+TgmoajGNsjTg7B3KjdpuDEuaOiMXWoh6ewc9jkhuCuv2deFQ@mail.gmail.com>
	<69b6a285-9afc-c224-4b0a-eefee3d8a4e7@BlueTreble.com>
	<CAMjNa7fk7gFKtJ7s0AJ2dk+H=dfbt1bTLc9kNimf8ikzObGpWg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 10/21/16 4:05 PM, Adam Brusselback wrote:
> My main point is that maybe the reason why most users use int4 pkeys
> (besides conventional wisdom) is because it gets the most support from
> features like this, and it may not be quite as skewed if that same
> support were given to other types.

I think it's a pretty safe bet that they're the most popular simply 
because serial means int4 and not int8. I bet a fair number of users 
don't even realize bigserial exists.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)   mobile: 512-569-9461


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (61+ messages)  latest in thread

Message-ID: <b1649a2d-e8bc-0e6c-8963-81a28151515c@BlueTreble.com>
Permalink:  ../b1649a2d-e8bc-0e6c-8963-81a28151515c@BlueTreble.com/
Also on:    postgresql.org/message-id/b1649a2d-e8bc-0e6c-8963-81a28151515c@BlueTreble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: Jim.Nasby@BlueTreble.com, adambrusselback@gmail.com, robertmhaas@gmail.com, alvherre@2ndquadrant.com
  Subject: Re: Indirect indexes
  In-Reply-To: <b1649a2d-e8bc-0e6c-8963-81a28151515c@BlueTreble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox