OK, that explains it. COPY wont work... my list of columns for insert is also dynamically built and will never cover all fields in table.Using COPY avoids this issue ofcourse, because there's a direct link to the table. Similarly, as of 8.2 it will be possible to do:INSERT INTO table (blah) VALUES (x,y,a),(f,d,g),(s,f,g), etc... Which will also avoid the issue. Multiple comma-separated values lists will also work... but I dont think I have time to wait for 8.2... thanks for all the tips! Peter |
- [GENERAL] Insert/select union bug Peter
- Re: [GENERAL] Insert/select union bug Martijn van Oosterhout
- Re: [GENERAL] Insert/select union bug Peter
- Re: [GENERAL] Insert/select union bug Martijn van Oosterhout
- Re: [GENERAL] Insert/select union ... Peter
- Re: [GENERAL] Insert/select u... Michael Glaesemann
- Re: [GENERAL] Insert/select u... Martijn van Oosterhout
