mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Clean up comment in libpgeasy.
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* pgeasy.c
|
* pgeasy.c
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -39,10 +39,10 @@ static int was_get_unset_result = FALSE;
|
|||||||
static int tuple;
|
static int tuple;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
**
|
*
|
||||||
** connectdb - returns PGconn structure
|
* connectdb - returns PGconn structure
|
||||||
**
|
*
|
||||||
*/
|
*/
|
||||||
PGconn *
|
PGconn *
|
||||||
connectdb(char *options)
|
connectdb(char *options)
|
||||||
{
|
{
|
||||||
@ -55,10 +55,10 @@ connectdb(char *options)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
**
|
*
|
||||||
** disconnectdb
|
* disconnectdb
|
||||||
**
|
*
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
disconnectdb()
|
disconnectdb()
|
||||||
{
|
{
|
||||||
@ -71,10 +71,10 @@ disconnectdb()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
**
|
*
|
||||||
** doquery - returns PGresult structure
|
* doquery - returns PGresult structure
|
||||||
**
|
*
|
||||||
*/
|
*/
|
||||||
PGresult *
|
PGresult *
|
||||||
doquery(char *query)
|
doquery(char *query)
|
||||||
{
|
{
|
||||||
@ -104,11 +104,11 @@ doquery(char *query)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
**
|
*
|
||||||
** fetch - returns tuple number (starts at 0), or the value END_OF_TUPLES
|
* fetch - returns tuple number (starts at 0), or the value END_OF_TUPLES
|
||||||
** NULL pointers are skipped
|
* NULL pointers are skipped
|
||||||
**
|
*
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
fetch(void *param,...)
|
fetch(void *param,...)
|
||||||
{
|
{
|
||||||
@ -141,12 +141,12 @@ fetch(void *param,...)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
**
|
*
|
||||||
** fetchwithnulls - returns tuple number (starts at 0),
|
* fetchwithnulls - returns tuple number (starts at 0),
|
||||||
** or the value END_OF_TUPLES
|
* or the value END_OF_TUPLES
|
||||||
** Returns TRUE or FALSE into null indicator variables
|
* Returns TRUE or FALSE into null indicator variables
|
||||||
** NULL pointers are skipped
|
* NULL pointers are skipped
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
fetchwithnulls(void *param,...)
|
fetchwithnulls(void *param,...)
|
||||||
{
|
{
|
||||||
@ -184,10 +184,10 @@ fetchwithnulls(void *param,...)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
**
|
*
|
||||||
** on_error_stop
|
* on_error_stop
|
||||||
**
|
*
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
on_error_stop()
|
on_error_stop()
|
||||||
{
|
{
|
||||||
@ -195,10 +195,10 @@ on_error_stop()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
**
|
*
|
||||||
** on_error_continue
|
* on_error_continue
|
||||||
**
|
*
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
on_error_continue()
|
on_error_continue()
|
||||||
{
|
{
|
||||||
@ -207,10 +207,10 @@ on_error_continue()
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
**
|
*
|
||||||
** get_result
|
* get_result
|
||||||
**
|
*
|
||||||
*/
|
*/
|
||||||
PGresult *
|
PGresult *
|
||||||
get_result()
|
get_result()
|
||||||
{
|
{
|
||||||
@ -227,10 +227,10 @@ get_result()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
**
|
*
|
||||||
** set_result
|
* set_result
|
||||||
**
|
*
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
set_result(PGresult *newres)
|
set_result(PGresult *newres)
|
||||||
{
|
{
|
||||||
@ -263,10 +263,10 @@ set_result(PGresult *newres)
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
**
|
*
|
||||||
** unset_result
|
* unset_result
|
||||||
**
|
*
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
unset_result(PGresult *oldres)
|
unset_result(PGresult *oldres)
|
||||||
{
|
{
|
||||||
@ -287,10 +287,10 @@ unset_result(PGresult *oldres)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
**
|
*
|
||||||
** reset_fetch
|
* reset_fetch
|
||||||
**
|
*
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
reset_fetch()
|
reset_fetch()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user