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.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +