Page 1 of 1

Getting feedback from PgSqlScript

Posted: Wed 06 Jun 2018 14:48
by wdnichols
We are switching from Oracle (accessed using Devart.Data.Oracle) to PostgreSQL (using Devart.Data.PostgreSql).

When running Oracle scripts, using OracleScript, we would use calls to dbms_output.get_lines after each script to get feedback.

How can we get similar feedback when running PostgreSQL, using PgSqlScript?

When running the same PostgreSQL scripts in dbForge Studio Express, the type of feedback I am looking for appears in its Output and Error List windows, so I am confident its available somewhere.

Thanks,
Bill Nichols.

Re: Getting feedback from PgSqlScript

Posted: Fri 08 Jun 2018 14:40
by Shalex
Both OracleScript and PgSqlScript include the Error event: https://www.devart.com/dotconnect/postg ... or_EV.html. Is that what you need?

Re: Getting feedback from PgSqlScript

Posted: Mon 18 Jun 2018 11:12
by wdnichols
Yes, that will do the trick.

Thanks,
Bill.