I have a table created long ago in postgreSQL. Now i want to look at the sql statement used to create it but cannot figure it out.
Also when i do the \dS+ tablename it says table not found, but \dt+ tablename is working fine. The \dS+ lists all the table names owned by the root postgres user and doesn't show up tables that i created with my user account.
Any help is greatly appreciated.
Thanks