File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 9
9
* Portions Copyright (c) 1994, Regents of the University of California
10
10
*
11
11
* IDENTIFICATION
12
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/varbit.c,v 1.11 2000/11/07 11:35:16 momjian Exp $
12
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/varbit.c,v 1.12 2000/11/16 21:43:28 petere Exp $
13
13
*
14
14
*-------------------------------------------------------------------------
15
15
*/
@@ -177,6 +177,12 @@ zpbit_in(PG_FUNCTION_ARGS)
177
177
Datum
178
178
zpbit_out (PG_FUNCTION_ARGS )
179
179
{
180
+ #if 1
181
+ /* same as varbit output */
182
+ return varbit_out (fcinfo );
183
+ #else
184
+ /* This is how one would print a hex string, in case someone wants to
185
+ write a formatting function. */
180
186
VarBit * s = PG_GETARG_VARBIT_P (0 );
181
187
char * result ,
182
188
* r ;
@@ -207,6 +213,7 @@ zpbit_out(PG_FUNCTION_ARGS)
207
213
* r = '\0' ;
208
214
209
215
PG_RETURN_CSTRING (result );
216
+ #endif
210
217
}
211
218
212
219
/* zpbit()
You can’t perform that action at this time.
0 commit comments