skip to Main Content

How can I get postgresql local configuration parameter's current value?

I'm practicing with queries optimization. In particular, tuning work_mem parameter. There's the DB diagram: https://postgrespro.com/docs/postgrespro/12/apks02. I have a sql function get_passengers_and_flights: CREATE FUNCTION get_passengers_and_flights(d timestamptz) RETURNS TABLE(passenger_name text, flight_no text) AS $$ SELECT t.passenger_name, f.flight_no FROM tickets t JOIN ticket_flights…

VIEW QUESTION

Database WordPress

I came across the table name __wp_actionscheduler_actions in my WordPress database, and I noticed that there's an underscore before 'wp'. What is the purpose of the underscore and can I remove it, since there's already a table named 'wp_actionscheduler_actions'? Is…

VIEW QUESTION

Laravel database migration

I changed only user table and add several columns and when I try migrate:refresh it tells me this error message SQLSTATE[42S02]: Base table or view not found: 1146 Table 'basename.categories' doesn't exist (SQL: select * from `categories`) how can I…

VIEW QUESTION
Back To Top
Search