Is there any way to simulate rownum in postgresql ?
Postgresql > 8.4
SELECT row_number() OVER (ORDER BY col1) AS i, e.col1, e.col2, ... FROM ...
I have the query In Oracle SQL: select town_name, regexp_substr(town_name, '[^A,]+', 1, 1) as c1, regexp_substr(town_name, '[^A,]+', 1, 2) as c2, regexp_substr(town_name, '[^A,]+', 1, rownum) as c_rownum, rownum …
What's the equivalent to show tables (from MySQL) in PostgreSQL?
How do I change the password for PostgreSQL user?