230160 {
230161 ScalarFunction next_val("nextval", {LogicalType::VARCHAR}, LogicalType::BIGINT,
230162 NextValFunction<NextSequenceValueOperator>, nullptr, nullptr);
230163 next_val.SetBindExtendedCallback(NextValBind);
230164 next_val.SetSerializeCallback(Serialize);
230165 next_val.SetDeserializeCallback(Deserialize);
230166 next_val.SetModifiedDatabasesCallback(NextValModifiedDatabases);
230167 next_val.SetInitStateCallback(NextValLocalFunction);
230168 next_val.SetVolatile();
230169 next_val.SetFallible();
230170 return next_val;
230171}