PostgreSQL Manager compilation window is performed for step-by-step control of executing transactions, tracing the errors and editing SQL statements during their compilation.
The compilation window appears any time the transaction is executed, both when the compilation is successful and when there were errors in compilation. If you want this window to appear only in case of error, choose Options | Environment Options and uncheck option Confirm successful compilation (default checked) on the Preferences page.
Window title contains information about the operation executed, e.g. 'Creating table TABLE1
'.
Statement Sequence
This area displays a list of operations, executed within the current transaction. For each operation the proper statement and the compilation result are displayed: 'Successful' in case of successful compilation or 'Error' in case of error. You can uncheck some statements so that they would not be included into the final transaction compilation. Note! Some statements are necessary for successful executing the transaction and unchecking them may cause an error.
Selected Statement
If the Statement button is dropped, in this area you can view and edit SQL text, corresponding to the selected statement In case of error in compilation the Error button also becomes available, by clicking which you can view the compilation error description.
Rollback
This button allows you to return to the previous stage (editor window or DB Explorer).
Rollback and Recompile
This button calls for recompilation with the changes you made in the Statement Sequence list and in the SQL text of the statements.
Commit
This button fixes the executed statements. Click it to commit the current transaction. This button is available only if there were no errors in compilation.
Availability:
|
Windows Professional
|
Yes
|
Windows Lite
|
Yes
|
Linux Professional
|
Yes
|
Linux Lite
|
Yes
|