Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
de3483ac
Commit
de3483ac
authored
15 years ago
by
Heikki Linnakangas
Browse files
Options
Downloads
Patches
Plain Diff
Update description of walrcv_receive() function to match reality.
parent
96189dbe
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/backend/replication/README
+8
-5
8 additions, 5 deletions
src/backend/replication/README
with
8 additions
and
5 deletions
src/backend/replication/README
+
8
−
5
View file @
de3483ac
$PostgreSQL: pgsql/src/backend/replication/README,v 1.
2
2010/0
1
/2
0
0
9:16:24
heikki Exp $
$PostgreSQL: pgsql/src/backend/replication/README,v 1.
3
2010/0
3
/2
4
0
6:25:39
heikki Exp $
Walreceiver - libpqwalreceiver API
----------------------------------
...
...
@@ -17,11 +17,14 @@ Establish connection to the primary, and starts streaming from 'startpoint'.
Returns true on success.
bool walrcv_receive(int timeout, XLogRecPtr *recptr, char **buffer, int *len)
Retrieve any WAL record available through the connection, blocking for
maximum of 'timeout' ms.
bool walrcv_receive(int timeout, unsigned char *type, char **buffer, int *len)
Retrieve any message available through the connection, blocking for
maximum of 'timeout' ms. If a message was successfully read, returns true,
otherwise false. On success, a pointer to the message payload is stored in
*buffer, length in *len, and the type of message received in *type. The
returned buffer is valid until the next call to walrcv_* functions, the
caller should not attempt freeing it.
void walrcv_disconnect(void);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment