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
6e675d27
Commit
6e675d27
authored
May 24, 2002
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix coding error in UTF conversion.
parent
07be5980
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/pl/tcl/pltcl.c
src/pl/tcl/pltcl.c
+5
-3
No files found.
src/pl/tcl/pltcl.c
View file @
6e675d27
...
...
@@ -31,7 +31,7 @@
* ENHANCEMENTS, OR MODIFICATIONS.
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.5
4 2002/05/24 19:58:0
4 tgl Exp $
* $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.5
5 2002/05/24 21:04:3
4 tgl Exp $
*
**********************************************************************/
...
...
@@ -594,15 +594,17 @@ pltcl_func_handler(PG_FUNCTION_ARGS)
if
(
SPI_finish
()
!=
SPI_OK_FINISH
)
elog
(
ERROR
,
"pltcl: SPI_finish() failed"
);
UTF_BEGIN
;
if
(
fcinfo
->
isnull
)
retval
=
(
Datum
)
0
;
else
{
UTF_BEGIN
;
retval
=
FunctionCall3
(
&
prodesc
->
result_in_func
,
PointerGetDatum
(
UTF_U2E
(
interp
->
result
)),
ObjectIdGetDatum
(
prodesc
->
result_in_elem
),
Int32GetDatum
(
-
1
));
UTF_END
;
UTF_END
;
}
/************************************************************
* Finally we may restore normal error handling.
...
...
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