mirror of
https://github.com/postgres/postgres.git
synced 2025-08-25 20:23:07 +03:00
Fix inconsistencies and typos in the tree
This is numbered take 7, and addresses a set of issues with code comments, variable names and unreferenced variables. Author: Alexander Lakhin Discussion: https://postgr.es/m/dff75442-2468-f74f-568c-6006e141062f@gmail.com
This commit is contained in:
@@ -2073,9 +2073,9 @@ ecpg_do_prologue(int lineno, const int compat, const int force_indicator,
|
||||
* offset - offset between ith and (i+1)th entry in an array, normally
|
||||
* that means sizeof(type)
|
||||
* ind_type - type of indicator variable
|
||||
* ind_value - pointer to indicator variable
|
||||
* ind_pointer - pointer to indicator variable
|
||||
* ind_varcharsize - empty
|
||||
* ind_arraysize - arraysize of indicator array
|
||||
* ind_arrsize - arraysize of indicator array
|
||||
* ind_offset - indicator offset
|
||||
*------
|
||||
*/
|
||||
|
@@ -275,8 +275,8 @@ PGTYPEStimestamp_to_asc(timestamp tstamp)
|
||||
*tm = &tt;
|
||||
char buf[MAXDATELEN + 1];
|
||||
fsec_t fsec;
|
||||
int DateStyle = 1; /* this defaults to ISO_DATES, shall we make
|
||||
* it an option? */
|
||||
int DateStyle = 1; /* this defaults to USE_ISO_DATES, shall we
|
||||
* make it an option? */
|
||||
|
||||
if (TIMESTAMP_NOT_FINITE(tstamp))
|
||||
EncodeSpecialTimestamp(tstamp, buf);
|
||||
|
Reference in New Issue
Block a user