mirror of
https://github.com/postgres/postgres.git
synced 2025-08-21 10:42:50 +03:00
pgindent run for 8.2.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/params.c,v 1.6 2006/04/22 01:25:59 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/params.c,v 1.7 2006/10/04 00:29:53 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -37,14 +37,14 @@ copyParamList(ParamListInfo from)
|
||||
|
||||
/* sizeof(ParamListInfoData) includes the first array element */
|
||||
size = sizeof(ParamListInfoData) +
|
||||
(from->numParams - 1) * sizeof(ParamExternData);
|
||||
(from->numParams - 1) *sizeof(ParamExternData);
|
||||
|
||||
retval = (ParamListInfo) palloc(size);
|
||||
memcpy(retval, from, size);
|
||||
|
||||
/*
|
||||
* Flat-copy is not good enough for pass-by-ref data values, so make
|
||||
* a pass over the array to copy those.
|
||||
* Flat-copy is not good enough for pass-by-ref data values, so make a
|
||||
* pass over the array to copy those.
|
||||
*/
|
||||
for (i = 0; i < retval->numParams; i++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user