Re: Searching through trigger functions - Mailing list pgsql-general

From Alan Hodgson
Subject Re: Searching through trigger functions
Date
Msg-id 201109261053.00418.ahodgson@simkin.ca
Whole thread Raw
In response to Searching through trigger functions  ("Bob Pawley" <rjpawley@shaw.ca>)
List pgsql-general
On September 26, 2011 10:47:20 AM Bob Pawley wrote:
> Hi
>
> I have an error somewhere in one of the trigger functions in my database.
> The error message only told me it was a ‘Select * From (table name).
>
> Is there a global method of finding where this expression resides other
> than searching each script individually.
>

pg_dump -s > file; vi file; /s search_string

Alternately, I find it good practice to maintain function definitions outside of
the database, under version control. You can then grep those files as needed.

pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Searching through trigger functions
Next
From: "Day, David"
Date:
Subject: ECPG Segmentation fault on retreiving timestamp column into sqlda.