Re: New mug design - Mailing list pgsql-advocacy

From Thom Brown
Subject Re: New mug design
Date
Msg-id bddc86150911281405t1b755785ic20e2d0668aef025@mail.gmail.com
Whole thread Raw
In response to Re: New mug design  ("Marc G. Fournier" <scrappy@hub.org>)
List pgsql-advocacy
2009/11/28 Marc G. Fournier <scrappy@hub.org>
On Sat, 28 Nov 2009, Bruce Momjian wrote:

Rob Napier wrote:
I suggest that you combine the two ideas:

INSERT INTO pg_mug VALUES('coffee', 'water', 'sugar', 'cream');

And

BEGIN;
CREATE TABLE postgresql (mug_id SERIAL);
COMMIT;

You mean:

       BEGIN;
       CREATE TABLE pg_mug (contents TEXT);
       INSERT INTO pg_mug VALUES('coffee', 'sugar', 'cream');
       COMMIT;

?

I don't think "water" makes sense unless you are making instant coffee,
which I think is atypical.

Ummm ... last I checked, that query will fail with too many fields? :)



Thom

pgsql-advocacy by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: New mug design
Next
From: Bruce Momjian
Date:
Subject: Re: New mug design