0

is it posible to see how a Database View is constructed in Postgres, to see wich query was used to create that view?

0

1 Answer 1

1

In psql:

\d+ the_view

--or

select definition from pg_views where viewname = 'the_view';
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.