title: plpgsql function which contains the query "Select * from table name"
body: <p>I want to create a plpgsql function that will execute a simple select query,i.e. "Select * from table name" .When i will run that function by this query which is like
  "select function()",then it will return the output as "Select * from table name".</p>