Re: [GENERAL] Insert into ... returning ... before 8.2?

2008-07-02 Thread A. Kretschmer
am Wed, dem 02.07.2008, um 11:58:19 +0200 mailte A B folgendes: > What should I replace the command > > INSERT INTO table (name) VALUES (value) RETURNING currval('my_id_seq') > into my_var; > > with if I have to use version 8.1? select currval('my_id_seq'); Andreas -- Andreas Kretschmer Kont

[GENERAL] Insert into ... returning ... before 8.2?

2008-07-02 Thread A B
What should I replace the command INSERT INTO table (name) VALUES (value) RETURNING currval('my_id_seq') into my_var; with if I have to use version 8.1? -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref