Re: smallserial / serial2
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Mike Pultz" <mike@mikepultz.com>
Cc: pgsql-hackers@postgresql.org
Date: 2011-04-21T14:26:16Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add a variant expected-output file for the sequence regression test, to cover
- bb3f839bfcb3 8.4.0 cited
"Mike Pultz" <mike@mikepultz.com> writes: > I use tables all the time that have sequences on smallint's; > I'd like to simplify my create files by not having to create the sequence > first, but I also don't want to give up those 2 bytes per column! A sequence that can only go to 32K doesn't seem all that generally useful ... Are you certain that you're really saving anything? More likely than not, the "saved" 2 bytes are going to disappear into alignment padding of a later column or of the whole tuple. Even if it really does help for your case, that's another reason to doubt that it's generally useful. regards, tom lane