SQL::ReservedWords::PostgreSQL(3pm)

SQL::ReservedWords::PostgreSQL3pm

Reserved sql words by postgresql

Usage

   if ( SQL::ReservedWords::PostgreSQL->is_reserved( $word ) ) {
       print "$word is a reserved PostgreSQL word!";
   }

Overview

Determine if words are reserved by PostgreSQL.

Methods

is_reserved( $word )

Returns a boolean indicating if $word is reserved by either PostgreSQL 7.3, 7.4, 8.0 or 8.1.

is_reserved_by_postgresql7( $word )

Returns a boolean indicating if $word is reserved by either PostgreSQL 7.3 or 7.4.

is_reserved_by_postgresql8( $word )

Returns a boolean indicating if $word is reserved by either PostgreSQL 8.0 or 8.1.

reserved_by( $word )

Returns a list with PostgreSQL versions that reserves $word.

words

Returns a list with all reserved words.

Exports

Nothing by default. Following subroutines can be exported:

is_reserved
is_reserved_by_postgresql7
is_reserved_by_postgresql8
reserved_by
words

Releases

9 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0–7
  2. 8
  3. 9–10
  4. 11
  5. 12–13

Author

Christian Hansen "[email protected]"

From libsql-reservedwords-perl 0.8-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.