Re: New mug design - Mailing list pgsql-advocacy

From Bruce Momjian
Subject Re: New mug design
Date
Msg-id 200911291049.nATAnHd28996@momjian.us
Whole thread Raw
In response to New mug design  (Andreas 'ads' Scherbaum <adsmail@wars-nicht.de>)
List pgsql-advocacy
bruce wrote:
> You can even add stirring:
>
>     BEGIN;
>     CREATE TABLE pg_mug (contents TEXT);
>     INSERT INTO pg_mug
>       VALUES('coffee'), ('sugar'), ('cream');
>     -- stir
>     SELECT * FROM pg_mug ORDER BY random();
>     COMMIT;

We can also have different ways of specifying the transaction:

    BEGIN/COMMIT
    BEGIN WORK/COMMIT WORK
    START TRANSACTION/COMMIT
    START TRANSACTION/COMMIT WORK

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-advocacy by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: New mug design
Next
From: Dave Page
Date:
Subject: Re: New mug design