Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
e67e399f
Commit
e67e399f
authored
Mar 07, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add man page for oracle compatibility functions
By Edmund
parent
e2ab435e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
0 deletions
+55
-0
src/man/oracle_compat.3
src/man/oracle_compat.3
+55
-0
No files found.
src/man/oracle_compat.3
0 → 100644
View file @
e67e399f
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Id: oracle_compat.3,v 1.1 1997/03/07 00:47:41 scrappy Exp $
.TH ORACLE_COMPAT SQL 03/06/97 PostgreSQL PostgreSQL
.SH DESCRIPTION
This is a set of single row character functions, defined for the datatype
text. They are supposed to behave exactly as their Oracle counterparts.
.PP
The following functions have been implemented:
.PP
.B LOWER(string)
.IP
Returns string, with all letters forced to lowercase.
.PP
.B UPPER(string)
.IP
Returns string, with all letters forced to uppercase.
.PP
.B INITCAP(string)
.IP
Returns string, with first letter of each word in uppercase,
all other letters in lowercase. A word is delimited by white
space.
.PP
.B LPAD(string1, len [,string2])
.IP
Returns string1, left-padded to length len with the sequence
of characters in string2. string2 defaults to blanks.
.PP
.B RPAD(string1, len [,string2])
.IP
Returns string1, right-padded to length len with the sequence
of characters in string2. string2 defaults to blanks.
.PP
.B LTRIM(string [,set])
.IP
Returns string with initial characters removed up to the first
character not in set. set defaults to blanks.
.PP
.B RTRIM(string [,set])
.IP
Returns string with final characters removed after the last
character not in set. set defaults to blanks.
.PP
.B SUBSTR(string, m [,n])
.IP
Returns a portion of string, beginning at character m, n
characters long. If n is omitted, to the end of the string.
The first position of string is 1.
.PP
.B TRANSLATE(string, from, to)
.IP
Returns string after replacing all occurences of from with
the corresponding character in to. TRANSLATE will not remove
characters.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment