Re: [GENERAL] Is there any ways to pass an array as parameter in libpq?

2009-10-27 Thread ChenXun
neral@postgresql.org Date: Tue, 27 Oct 2009 13:14:37 +0800 On Tue, 2009-10-27 at 08:07 +0800, ChenXun wrote: Hello, I'm starting to learn programming with libpq. In the main loop of my code, I will receive some data in the format of an array of a struct. The da

[GENERAL] Is there any ways to pass an array as parameter in libpq?

2009-10-26 Thread ChenXun
Hello, I'm starting to learn programming with libpq. In the main loop of my code, I will receive some data in the format of an array of a struct. The data will be inserted to the database, in different lines. I also need to update the last record in the table before the insertion. So I pla