mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Pgindent run for 8.0.
This commit is contained in:
@ -309,7 +309,7 @@ timetravel(PG_FUNCTION_ARGS)
|
||||
void *pplan;
|
||||
Oid *ctypes;
|
||||
char sql[8192];
|
||||
char separ=' ';
|
||||
char separ = ' ';
|
||||
|
||||
/* allocate ctypes for preparation */
|
||||
ctypes = (Oid *) palloc(natts * sizeof(Oid));
|
||||
@ -323,8 +323,8 @@ timetravel(PG_FUNCTION_ARGS)
|
||||
ctypes[i - 1] = SPI_gettypeid(tupdesc, i);
|
||||
if (!(tupdesc->attrs[i - 1]->attisdropped)) /* skip dropped columns */
|
||||
{
|
||||
snprintf(sql + strlen(sql), sizeof(sql) - strlen(sql), "%c$%d", separ,i);
|
||||
separ = ',';
|
||||
snprintf(sql + strlen(sql), sizeof(sql) - strlen(sql), "%c$%d", separ, i);
|
||||
separ = ',';
|
||||
}
|
||||
}
|
||||
snprintf(sql + strlen(sql), sizeof(sql) - strlen(sql), ")");
|
||||
|
Reference in New Issue
Block a user