mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Phase 2 pgindent run for v12.
Switch to 2.1 version of pg_bsd_indent. This formats multiline function declarations "correctly", that is with additional lines of parameter declarations indented to match where the first line's left parenthesis is. Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
This commit is contained in:
@@ -71,10 +71,10 @@ extern TimestampTz GetCurrentTimestamp(void);
|
||||
extern TimestampTz GetSQLCurrentTimestamp(int32 typmod);
|
||||
extern Timestamp GetSQLLocalTimestamp(int32 typmod);
|
||||
extern void TimestampDifference(TimestampTz start_time, TimestampTz stop_time,
|
||||
long *secs, int *microsecs);
|
||||
long *secs, int *microsecs);
|
||||
extern bool TimestampDifferenceExceeds(TimestampTz start_time,
|
||||
TimestampTz stop_time,
|
||||
int msec);
|
||||
TimestampTz stop_time,
|
||||
int msec);
|
||||
|
||||
extern TimestampTz time_t_to_timestamptz(pg_time_t tm);
|
||||
extern pg_time_t timestamptz_to_time_t(TimestampTz t);
|
||||
@@ -82,8 +82,8 @@ extern pg_time_t timestamptz_to_time_t(TimestampTz t);
|
||||
extern const char *timestamptz_to_str(TimestampTz t);
|
||||
|
||||
extern int tm2timestamp(struct pg_tm *tm, fsec_t fsec, int *tzp, Timestamp *dt);
|
||||
extern int timestamp2tm(Timestamp dt, int *tzp, struct pg_tm *tm,
|
||||
fsec_t *fsec, const char **tzn, pg_tz *attimezone);
|
||||
extern int timestamp2tm(Timestamp dt, int *tzp, struct pg_tm *tm,
|
||||
fsec_t *fsec, const char **tzn, pg_tz *attimezone);
|
||||
extern void dt2time(Timestamp dt, int *hour, int *min, int *sec, fsec_t *fsec);
|
||||
|
||||
extern int interval2tm(Interval span, struct pg_tm *tm, fsec_t *fsec);
|
||||
|
||||
Reference in New Issue
Block a user