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
af7dd696
Commit
af7dd696
authored
Feb 07, 2012
by
Robert Haas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos pointed out by Noah Misch.
parent
a870c7fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/backend/utils/adt/numeric.c
src/backend/utils/adt/numeric.c
+2
-2
No files found.
src/backend/utils/adt/numeric.c
View file @
af7dd696
...
...
@@ -748,9 +748,9 @@ numeric_transform(PG_FUNCTION_ARGS)
/*
* If new_typmod < VARHDRSZ, the destination is unconstrained; that's
* always OK. If old_typmod >= VARHDRSZ, the source is constained.
* always OK. If old_typmod >= VARHDRSZ, the source is const
r
ained.
* and we're OK if the scale is unchanged and the precison is not
* decreasing. See further no
d
es in function header comment.
* decreasing. See further no
t
es in function header comment.
*/
if
(
new_typmod
<
VARHDRSZ
||
(
old_typmod
>=
VARHDRSZ
&&
new_scale
==
old_scale
&&
new_precision
>=
old_precision
))
...
...
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