Skip to content

Instantly share code, notes, and snippets.

@paul
Created December 23, 2008 22:54
Show Gist options
  • Save paul/39500 to your computer and use it in GitHub Desktop.
Save paul/39500 to your computer and use it in GitHub Desktop.
DO_POSTGRES | POSTGRES | VS | AR |
--Reading----------------------------------------------------
SELECT * 6.865 | 7.004 | 0.98x | 10.309 |
CREATE TABLE users (
id serial NOT NULL,
"name" text,
registered boolean DEFAULT false,
money double precision DEFAULT 1908.56,
created_on date DEFAULT ('now'::text)::date,
created_at timestamp without time zone DEFAULT now(),
born_at time without time zone DEFAULT now(),
fired_at timestamp with time zone DEFAULT now(),
amount numeric(10,2) DEFAULT 11.1,
company_id integer DEFAULT 1
)
WITH (OIDS=FALSE);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment