Rafi Shamim

Results 19 issues of Rafi Shamim

**Describe the problem** The serverccl package has been timing out. - [here](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_UnitTests_BazelUnitTests/6029962?buildTab=overview&showRootCauses=false&expandBuildProblemsSection=true&expandBuildTestsSection=true&expandBuildChangesSection=true&expandBuildDeploymentsSection=true#%2Ftmp%2F_tmp%2Fc101b7a464a1afc1f5af0cd85792187e%2FlogTestNoInflightTracesVirtualTableOnTenant2070669194;%2Ftmp%2F_tmp%2Fc101b7a464a1afc1f5af0cd85792187e%2FStartServer2953751379;%2Fbazel-testlogs%2Fpkg%2Fccl%2Fserverccl%2Fserverccl_test;%2Fbazel-testlogs%2Fpkg%2Fccl%2Fserverccl%2Fstatusccl;%2Fbazel-testlogs%2Fpkg%2Fccl%2Fserverccl%2Fdiagnosticsccl) ([logs](https://teamcityartifacts.crdb.io/presignedTokenAuth/cbf22e43-ce1e-4d2d-bc2e-c1d977b8872b/repository/download/Cockroach_UnitTests_BazelUnitTests/6029962:id/bazel-testlogs/pkg/ccl/serverccl/serverccl_test/test.log)) - [here](https://teamcityartifacts.crdb.io/presignedTokenAuth/eefa002d-e9f4-494c-81e1-a8968242aae7/repository/download/Cockroach_UnitTests_BazelUnitTests/6033094:id/bazel-testlogs/pkg/ccl/serverccl/serverccl_test/test.log) - [here](https://teamcity.cockroachdb.com/viewLog.html?buildId=6040534&problemId=4141) - [here](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_UnitTests/6046487?showRootCauses=false&expandBuildChangesSection=true&expandBuildProblemsSection=true&expandBuildTestsSection=true) One theory: > Seems like the server fails to shut down...

C-bug
C-test-failure
branch-master

In aed014f these operations were supposed to be changed to use MinUserPriority. However, they weren't using the appropriate txn, so it didn't have the intended effect. Release note: None

backport-21.2.x
backport-22.1.x

fixes https://github.com/cockroachdb/cockroach/issues/85620 Release note (sql change): Added the trunc(decimal, int) builtin function, which truncates the given decimal value to the specified number of decimal places. A negative value can be...

fixes https://github.com/cockroachdb/cockroach/issues/84631 Release note (sql change): Arrays can now be imported in a CSV file using the {} format, similar to COPY FROM. Importing array expressions (e.g. ARRAY[1, 2, 3])...

### Summary According to [the docs](https://node-postgres.com/features/connecting), node-postgres uses the same [environment variables](https://www.postgresql.org/docs/9.1/static/libpq-envars.html) as libpq to connect to a PostgreSQL server. However, PGSSLCERT, PGSSLKEY, PGSSLROOTCERT are not supported. ### To reproduce...

fixes https://github.com/cockroachdb/cockroach/issues/88355 This adds pgwire decoding support for JSON (oid=114). This does not add oid=114 to the OidToType map in types.go since that introduces many other assumptions about the type;...

backport-22.2.x

fixes https://github.com/cockroachdb/cockroach/issues/88434 Release justification: test only change Release note: None

I have a bit of code that does something like this: ``` errors.UnimplementedErrorf( link, "unsupported expression %q: %v", exprString, err, ) ``` This flattens the `err` argument. What I'd really...

Relaying feedback that I received from one of our customers: > App devs have run into problems during upgrade of django-cockroachdb. The plugins dependencies do not seem to limit usage...