Supports PostgreSQL version 9.4, highlights most builtin functions. Keywords according to: SQL Key Words.
Using Vundle, add to .vimrc
:
Plugin 'spacetekk/pgsql.vim'
Using Pathogen:
cd ~/.vim/bundle git clone https://github.com/spacetekk/pgsql.vim.git
Highlights .pgsql
files out of the box. You can add pgsql
dictionary to vim completion, with:
set dictionary+=~/.vim/bundle/pgsql.vim/dic/pgsql
Use special markers while decalraing plpythonu functions or do statements, etc... Example:
create or replace function plpythonu_version() returns text language plpythonu as $python$
res = plpy.execute('select * from version()')
return res[0]['version']
$python$;
Some usefull snippts
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4