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
24dd0502
Commit
24dd0502
authored
Jan 13, 2013
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update comments for elog_start().
Forgot I was going to do this as part of the previous patch ...
parent
b853eb97
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/backend/utils/error/elog.c
src/backend/utils/error/elog.c
+5
-4
No files found.
src/backend/utils/error/elog.c
View file @
24dd0502
...
...
@@ -1156,12 +1156,13 @@ getinternalerrposition(void)
* elog_start --- startup for old-style API
*
* All that we do here is stash the hidden filename/lineno/funcname
* arguments into a stack entry.
* arguments into a stack entry
, along with the current value of errno
.
*
* We need this to be separate from elog_finish because there's no other
* portable way to deal with inserting extra arguments into the elog call.
* (If macros with variable numbers of arguments were portable, it'd be
* easy, but they aren't.)
* C89-compliant way to deal with inserting extra arguments into the elog
* call. (When using C99's __VA_ARGS__, we could possibly merge this with
* elog_finish, but there doesn't seem to be a good way to save errno before
* evaluating the format arguments if we do that.)
*/
void
elog_start
(
const
char
*
filename
,
int
lineno
,
const
char
*
funcname
)
...
...
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