NYCPHP Meetup

NYPHP.org

[nycphp-talk] databases with PHP

Daniel Horning dan.horning at planetnoc.com
Thu May 7 09:16:39 EDT 2009


> -----Original Message-----
> From: talk-bounces at lists.nyphp.org [mailto:talk-
> bounces at lists.nyphp.org] On Behalf Of Dan Cech
> 
> Anthony Wlodarski wrote:
> > Here is an example of a convenience that is not yet built into
> PostgreSQL
> > (and if it is please correct me as I am using 8.1.1).
> >
> > INSERT INTO x (a,b)
> > VALUES
> >  ('1', 'one'),
> >  ('2', 'two'),
> >  ('3', 'three')
> 
> It seems like this was added in 8.2, it's been a while since I messed
> around with PostgreSQL.
> 
> Dan


http://www.postgresql.org/docs/8.2/static/sql-insert.html

just confirming Dan's statement as in the older versions multirow VALUE does
not appear.





More information about the talk mailing list