-
System information:
Connection specification:
Describe the problem you're observing:Error on export result set from temp table Steps to reproduce, if exist:Execute query below and try export to SQL or TXT format
Include any warning/errors/backtraces from the logs |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@ems2811 probably, you've got Open new connection(s) enabled in properties? |
Beta Was this translation helpful? Give feedback.
-
Really. I didn't think about that. Thank you. |
Beta Was this translation helpful? Give feedback.
-
I don't know if this is by SQL design or a bug in DBeaver v24.2.3, but it does not work when the whole thing is running inside a transaction. Well, it works only once... Reproduction BEGIN TRANSACTION;
CREATE TEMP TABLE tmp1 AS
SELECT 1;
CREATE TEMP TABLE tmp2 AS
SELECT 2;
SELECT * FROM tmp1;
SELECT * FROM tmp2;
-- ROLLBACK; (Please note that the ROLLBACK is commented out (I'm running a migration test).) Exporting the results of the first
Trying to export the Do you know if that is expected or a bug? I really need to find a way to export the results of my 8-9 temp tables during this data migration. Thanks. |
Beta Was this translation helpful? Give feedback.
@ems2811 probably, you've got Open new connection(s) enabled in properties?
In this case the temporary table doesn't exist in the newly opened connection