| From: | Andreas 'ads' Scherbaum <adsmail(at)wars-nicht(dot)de> |
|---|---|
| To: | pgsql-advocacy(at)postgresql(dot)org |
| Subject: | Re: New mug design |
| Date: | 2009-11-29 12:30:31 |
| Message-ID: | 20091129133031.793a00c2@iridium.wars-nicht.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-advocacy |
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?
Bye
--
Andreas 'ads' Scherbaum
German PostgreSQL User Group
European PostgreSQL User Group - Board of Directors
Volunteer Regional Contact, Germany - PostgreSQL Project
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Page | 2009-11-29 17:53:54 | Re: New mug design |
| Previous Message | Andreas 'ads' Scherbaum | 2009-11-29 12:27:35 | Re: New mug design |