Hi! >This change relates only to SPI, meaning plpsql. It does not help libpq. Thanks for response. I see. Any hope it would be possible to calculate number of rows inserted in newly created table via CREATE .. AS SELECT? -- Best regards Ilja Golshtein ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq