You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: pg_exec(): Query failed: ERROR: column "current_query" does not exist LINE 1: ...ect count(*) as check from pg_stat_activity where current_qu... ^ in instant_livedata.php on line 126
#65
Open
encorehu opened this issue
Apr 7, 2014
· 0 comments
Warning: pg_exec(): Query failed: ERROR: column "current_query" does not exist LINE 1: ...ect count(*) as check from pg_stat_activity where current_qu... ^ in instant_livedata.php on line 126
this is because current_query changed from postgresql 9.2, now i use postgresql 9.3, this appeared.
pg_stat_activity and pg_stat_replication's definitions have changed
The view pg_stat_activity has changed. It's not backward compatible, but let's see what this new definition brings us:
current_query disappears and is replaced by two columns:
state: is the session running a query, waiting
query: what is the last run (or still running if stat is "active") query
The text was updated successfully, but these errors were encountered:
Warning: pg_exec(): Query failed: ERROR: column "current_query" does not exist LINE 1: ...ect count(*) as check from pg_stat_activity where current_qu... ^ in instant_livedata.php on line 126
this is because current_query changed from postgresql 9.2, now i use postgresql 9.3, this appeared.
https://wiki.postgresql.org/wiki/What's_new_in_PostgreSQL_9.2
pg_stat_activity and pg_stat_replication's definitions have changed
The view pg_stat_activity has changed. It's not backward compatible, but let's see what this new definition brings us:
The text was updated successfully, but these errors were encountered: