Re: Please help me to take a look of the erros in my functions. Thanks. - Mailing list pgsql-general

From leaf_yxj
Subject Re: Please help me to take a look of the erros in my functions. Thanks.
Date
Msg-id 1333462014250-5615238.post@n5.nabble.com
Whole thread Raw
In response to Re: Please help me to take a look of the erros in my functions. Thanks.  (Bartosz Dmytrak <bdmytrak@gmail.com>)
List pgsql-general
Bartek, Thanks. The reason I use the cursor is that I want to check the table
is in the pg_tables or not,
If it exists, the function will execute successfully, if not, it will raise
the message that the table doesn't exist.  For the schema part, I assume the
people has set the search_path to that schema which the table is in and
because our database only has one schema. So I assume they have the right
search_path.

Thanks for your advice. It helps me  a lot.

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Please-help-me-to-take-a-look-of-the-erros-in-my-functions-Thanks-tp5613507p5615238.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

pgsql-general by date:

Previous
From: leaf_yxj
Date:
Subject: Re: Please help me to take a look of the erros in my functions. Thanks.
Next
From: Adrian Klaver
Date:
Subject: Re: Re: Please help me to take a look of the erros in my functions. Thanks.