[SQL] CTAGS for PL/pgSQL ?

2013-08-28 Thread Charles Sheridan
Does anyone know if there are any CTAGS extensions or variants that 
support PL/pgSQL ?


I use exuberant-ctags which does not support it, and a web search does 
not return anything promising.


(I sent this same email to -novice the list, but this list seems more 
appropriate).



Regards,
Charles Sheridan

-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql


Re: [SQL] CTAGS for PL/pgSQL ?

2013-08-29 Thread Charles Sheridan



Does anyone know if there are any CTAGS extensions or variants that support
PL/pgSQL ?

I use exuberant-ctags which does not support it, and a web search does not
return anything promising.

As far as I know, the quick answer is NO.
However I made a few simple tests with etags and it seems to work with
plpgsql. However I would expect it to fail for some advanced features.

Luca

Thanks Luca, unfortunately (?) I'm a pretty heavy Vim user, so etags is 
not in my scope.


Regards,
Charles



--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql


Re: [SQL] CTAGS for PL/pgSQL ?

2013-08-29 Thread Charles Sheridan

On 13-08-29 9:00 AM, Luca Ferrari wrote:

On Thu, Aug 29, 2013 at 3:33 PM, Bruce Momjian  wrote:


Uh, I think Vim can use etags, no?  Isn't etags Exuberant Ctags?  The
Exuberant Ctags's FAQ mentions Vim:


I was referring to the etags shipped with emacs, that even if does not
support (explicitly) sql seems to work for a very simple test. I've
done the same test using the etags (from ctags) and it works too, so
now the important thing is to make vim using the tags file and see
what is missing.


Luca


Vim documentation states that ctags won't work w/ vim, and recommends 
exuberant-ctags.  If ctags does process PL/pgSQL, perhaps that output 
could be added to the exuberant-ctags tags file, likely w/ some 
processing.  I've got exuberant-ctags on a cron, and I think that Vim 
also calls it periodically during a Vim session, so I'd also cron ctags 
for regular update to the same tags file.   To avoid sync problems, 
where exuberant-ctags overwrites the ctags content, I'd actually want to 
call both tags programs from the a common exuberant-ctags wrapper.


Charles



--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql