Skip to content

Instantly share code, notes, and snippets.

@bmizerany
Created October 25, 2011 03:42
Show Gist options
  • Save bmizerany/1311233 to your computer and use it in GitHub Desktop.
Save bmizerany/1311233 to your computer and use it in GitHub Desktop.
00000000 00 00 00 14 ....
00000004 00 03 00 00 75 73 65 72 00 62 6c 61 6b 65 00 00 ....user .blake..
00000000 52 00 00 00 08 00 00 00 00 53 00 00 00 16 61 70 R....... .S....ap
00000010 70 6c 69 63 61 74 69 6f 6e 5f 6e 61 6d 65 00 00 plicatio n_name..
00000020 53 00 00 00 19 63 6c 69 65 6e 74 5f 65 6e 63 6f S....cli ent_enco
00000030 64 69 6e 67 00 55 54 46 38 00 53 00 00 00 17 44 ding.UTF 8.S....D
00000040 61 74 65 53 74 79 6c 65 00 49 53 4f 2c 20 4d 44 ateStyle .ISO, MD
00000050 59 00 53 00 00 00 19 69 6e 74 65 67 65 72 5f 64 Y.S....i nteger_d
00000060 61 74 65 74 69 6d 65 73 00 6f 6e 00 53 00 00 00 atetimes .on.S...
00000070 1b 49 6e 74 65 72 76 61 6c 53 74 79 6c 65 00 70 .Interva lStyle.p
00000080 6f 73 74 67 72 65 73 00 53 00 00 00 14 69 73 5f ostgres. S....is_
00000090 73 75 70 65 72 75 73 65 72 00 6f 6e 00 53 00 00 superuse r.on.S..
000000A0 00 19 73 65 72 76 65 72 5f 65 6e 63 6f 64 69 6e ..server _encodin
000000B0 67 00 55 54 46 38 00 53 00 00 00 19 73 65 72 76 g.UTF8.S ....serv
000000C0 65 72 5f 76 65 72 73 69 6f 6e 00 39 2e 30 2e 34 er_versi on.9.0.4
000000D0 00 53 00 00 00 20 73 65 73 73 69 6f 6e 5f 61 75 .S... se ssion_au
000000E0 74 68 6f 72 69 7a 61 74 69 6f 6e 00 62 6c 61 6b thorizat ion.blak
000000F0 65 00 53 00 00 00 24 73 74 61 6e 64 61 72 64 5f e.S...$s tandard_
00000100 63 6f 6e 66 6f 72 6d 69 6e 67 5f 73 74 72 69 6e conformi ng_strin
00000110 67 73 00 6f 66 66 00 53 00 00 00 18 54 69 6d 65 gs.off.S ....Time
00000120 5a 6f 6e 65 00 55 53 2f 50 61 63 69 66 69 63 00 Zone.US/ Pacific.
00000130 4b 00 00 00 0c 00 00 ac 5c 32 8c 3d e6 5a 00 00 K....... \2.=.Z..
00000140 00 05 49 ..I
00000014 50 P
00000015 00 00 00 38 ...8
00000019 53 45 4c 45 43 54 20 6c 65 6e 67 74 68 28 24 31 SELECT l ength($1
00000029 29 20 41 53 20 66 6f 6f 00 53 45 4c 45 43 54 20 ) AS foo .SELECT
00000039 6c 65 6e 67 74 68 28 24 31 29 20 41 53 20 66 6f length($ 1) AS fo
00000049 6f 00 00 00 o...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment