mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Post-feature-freeze pgindent run.
Discussion: https://postgr.es/m/15719.1523984266@sss.pgh.pa.us
This commit is contained in:
@ -1908,11 +1908,12 @@ spgdoinsert(Relation index, SpGistState *state,
|
||||
/*
|
||||
* Prepare the leaf datum to insert.
|
||||
*
|
||||
* If an optional "compress" method is provided, then call it to form
|
||||
* the leaf datum from the input datum. Otherwise store the input datum as
|
||||
* is. Since we don't use index_form_tuple in this AM, we have to make sure
|
||||
* value to be inserted is not toasted; FormIndexDatum doesn't guarantee
|
||||
* that. But we assume the "compress" method to return an untoasted value.
|
||||
* If an optional "compress" method is provided, then call it to form the
|
||||
* leaf datum from the input datum. Otherwise store the input datum as
|
||||
* is. Since we don't use index_form_tuple in this AM, we have to make
|
||||
* sure value to be inserted is not toasted; FormIndexDatum doesn't
|
||||
* guarantee that. But we assume the "compress" method to return an
|
||||
* untoasted value.
|
||||
*/
|
||||
if (!isnull)
|
||||
{
|
||||
|
Reference in New Issue
Block a user