generic insert into table - Mailing list pgsql-general

From Dennis Gearon
Subject generic insert into table
Date
Msg-id 40C4DE3D.9010901@fireserve.net
Whole thread Raw
Responses Re: generic insert into table  (Arjen van der Meijden <acmmailing@vulcanus.its.tudelft.nl>)
Re: generic insert into table  (Richard Poole <rp@guests.deus.net>)
Re: generic insert into table  ("Scott Marlowe" <smarlowe@qwest.net>)
List pgsql-general
please CC me, I am on digest
---------------------------------
I have the following code from an application that is 'mysql_centric'. I
want to make it generic across all databases, if it's possible,
especially postgres :-)

mysql version:
    INSERT INTO calendar_setting SET setting='colorEvent',value='#C2DCD5';

There is no data in this table at this time.
Isn't this the same as:
    INSERT INTO calendar_setting( 'colorEvent' ) VALUES ( '#C2DCD5');

would this work on all db's?

pgsql-general by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: bug in 7.4.2, concern unicode and russian content of
Next
From: "John Liu"
Date:
Subject: core dump