mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Source alignment cleanups.
This commit is contained in:
parent
a952c79b23
commit
3152ef63a6
@ -17,8 +17,7 @@ extern "C"
|
|||||||
{
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DWORD
|
DWORD GetPrivateProfileString(char *theSection, /* section name */
|
||||||
GetPrivateProfileString(char *theSection, /* section name */
|
|
||||||
char *theKey, /* search key name */
|
char *theKey, /* search key name */
|
||||||
char *theDefault, /* default value if not
|
char *theDefault, /* default value if not
|
||||||
* found */
|
* found */
|
||||||
@ -29,8 +28,7 @@ extern "C"
|
|||||||
char *theIniFileName); /* pathname of ini file
|
char *theIniFileName); /* pathname of ini file
|
||||||
* to search */
|
* to search */
|
||||||
|
|
||||||
DWORD
|
DWORD WritePrivateProfileString(char *theSection, /* section name */
|
||||||
WritePrivateProfileString(char *theSection, /* section name */
|
|
||||||
char *theKey, /* write key name */
|
char *theKey, /* write key name */
|
||||||
char *theBuffer, /* input buffer */
|
char *theBuffer, /* input buffer */
|
||||||
char *theIniFileName); /* pathname of ini file
|
char *theIniFileName); /* pathname of ini file
|
||||||
|
@ -48,7 +48,7 @@ typedef signed short RETCODE;
|
|||||||
#define SQL_VARCHAR 12
|
#define SQL_VARCHAR 12
|
||||||
|
|
||||||
#define SQL_TYPE_MIN SQL_CHAR
|
#define SQL_TYPE_MIN SQL_CHAR
|
||||||
#define SQL_TYPE_NULL 0
|
#define SQL_TYPE_NUL 0
|
||||||
#define SQL_TYPE_MAX SQL_VARCHAR
|
#define SQL_TYPE_MAX SQL_VARCHAR
|
||||||
|
|
||||||
/* C to SQL datatype mapping */
|
/* C to SQL datatype mapping */
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Comments: See "notice.txt" for copyright and license information.
|
* Comments: See "notice.txt" for copyright and license information.
|
||||||
*
|
*
|
||||||
* $Id: psqlodbc.h,v 1.34 2001/02/11 05:13:51 momjian Exp $
|
* $Id: psqlodbc.h,v 1.35 2001/02/11 05:58:41 momjian Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __PSQLODBC_H__
|
#ifndef __PSQLODBC_H__
|
||||||
|
@ -50,8 +50,8 @@ typedef enum
|
|||||||
STMT_EXECUTING /* statement execution is still going on */
|
STMT_EXECUTING /* statement execution is still going on */
|
||||||
} STMT_Status;
|
} STMT_Status;
|
||||||
|
|
||||||
#define STMT_TRUNCATED -2
|
#define STMT_TRUNCATED (-2)
|
||||||
#define STMT_INFO_ONLY -1 /* not an error message, just a
|
#define STMT_INFO_ONLY (-1) /* not an error message, just a
|
||||||
* notification to be returned by SQLError */
|
* notification to be returned by SQLError */
|
||||||
#define STMT_OK 0 /* will be interpreted as "no error
|
#define STMT_OK 0 /* will be interpreted as "no error
|
||||||
* pending" */
|
* pending" */
|
||||||
|
@ -27,3 +27,6 @@ We get the list of typedef's included in pgindent by running:
|
|||||||
|
|
||||||
/src/tools/find_typedef
|
/src/tools/find_typedef
|
||||||
|
|
||||||
|
Make sure to do the pgsql/bin directory, and the src/interfaces/odbc
|
||||||
|
directory. Merge the output of these and remove duplicates.
|
||||||
|
|
||||||
|
@ -37,6 +37,10 @@ do
|
|||||||
indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l75 \
|
indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l75 \
|
||||||
-lp -nip -npro $EXTRA_OPTS \
|
-lp -nip -npro $EXTRA_OPTS \
|
||||||
-TFAR \
|
-TFAR \
|
||||||
|
-TDWORD \
|
||||||
|
-TBOOL \
|
||||||
|
-TRETCODE \
|
||||||
|
-TSQL_API \
|
||||||
-TA_Const \
|
-TA_Const \
|
||||||
-TA_Expr \
|
-TA_Expr \
|
||||||
-TA_Indices \
|
-TA_Indices \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user