apecloud / myduckserver

MySQL & Postgres Analytics, Reimagined
184 stars 8 forks source link

[pg] DISCARD ALL failed #196

Closed VWagen1989 closed 1 hour ago

VWagen1989 commented 13 hours ago
postgres=# discard all;
ERROR:  Access denied for user 'postgres'@'127.0.0.1' to database 'main'
postgres=# \d
                      List of relations
       Schema       |        Name         | Type  |  Owner   
--------------------+---------------------+-------+----------
 __sys__            | binlog_position     | table | postgres
 __sys__            | current_setting     | table | postgres
 performance_schema | global_status       | table | postgres
 __sys__            | persistent_variable | table | postgres
 __sys__            | pg_replication_lsn  | table | postgres
 __sys__            | pg_stat_replication | table | postgres
 public             | test                | table | postgres
(7 rows)
VWagen1989 commented 12 hours ago

Since the release operations on temporary resources are still in development progress, we just skip the handling and return "OK" packet now.