PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ append_sql_to_buffer()

static int append_sql_to_buffer ( STRINGBUFFER buffer,
const char *  str 
)
static

Definition at line 822 of file raster2pgsql.c.

References append_stringbuffer(), flush_stringbuffer(), and stringbuffer_t::length.

Referenced by add_overview_constraints(), add_raster_constraints(), analyze_table(), copy_from(), copy_from_end(), create_index(), create_table(), drop_table(), insert_records(), process_rasters(), and vacuum_table().

822  {
823  if (buffer->length > 9)
824  flush_stringbuffer(buffer);
825 
826  return append_stringbuffer(buffer, str);
827 }
static void flush_stringbuffer(STRINGBUFFER *buffer)
Definition: raster2pgsql.c:800
uint32_t length
Definition: raster2pgsql.h:196
static int append_stringbuffer(STRINGBUFFER *buffer, const char *str)
Definition: raster2pgsql.c:807
Here is the call graph for this function:
Here is the caller graph for this function: