Re: New mug design - Mailing list pgsql-advocacy

From Bruce Momjian
Subject Re: New mug design
Date
Msg-id 200911291811.nATIBmD10882@momjian.us
Whole thread Raw
In response to Re: New mug design  (Andreas 'ads' Scherbaum <adsmail@wars-nicht.de>)
List pgsql-advocacy
Andreas 'ads' Scherbaum wrote:
> On Sat, 28 Nov 2009 17:57:38 -0500 (EST) Bruce Momjian wrote:
>
> > That highlights our multi-value INSERT too.  :-)  With proper wrap it
> > would be:
> >
> >     BEGIN;
> >     CREATE TABLE pg_mug (contents TEXT);
> >     INSERT INTO pg_mug
> >       VALUES('coffee'), ('sugar'), ('cream');
> >     COMMIT;
> >
> > 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;
>
> The mug is colored anyway, right now blue and black. Can/should we add
> some syntax highlighting?

Great idea --- colorful is good.

--
  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: Andreas 'ads' Scherbaum
Date:
Subject: Re: New mug design
Next
From: Bruce Momjian
Date:
Subject: Re: New mug design