File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ import (
1818
1919// https://github.com/gogf/gf/issues/4495
2020// Test Tables() returns tables from specific schema using explicit schema parameter.
21- // Note: SET search_path is session-specific and doesn't work reliably with connection pooling.
22- // The recommended approach is to use db.Tables(ctx, schema) with explicit schema parameter.
2321func Test_Issue4495_Tables_SearchPath (t * testing.T ) {
2422 var (
2523 schema1 = fmt .Sprintf ("test_schema1_%d" , gtime .TimestampNano ())
@@ -89,9 +87,7 @@ func Test_Issue4495_Tables_SearchPath(t *testing.T) {
8987
9088// https://github.com/gogf/gf/issues/4495
9189// Test TableFields() returns correct field info for same-name tables in different schemas
92- // using schema-qualified table names.
93- // Note: SET search_path is session-specific and doesn't work reliably with connection pooling.
94- // The recommended approach is to use schema-qualified table names like "schema.table".
90+ // using schema-qualified table names like "schema.table".
9591func Test_Issue4495_TableFields_SchemaFilter (t * testing.T ) {
9692 var (
9793 schema1 = fmt .Sprintf ("test_schema1_%d" , gtime .TimestampNano ())
Original file line number Diff line number Diff line change @@ -294,8 +294,6 @@ func Test_Issue4500(t *testing.T) {
294294
295295// https://github.com/gogf/gf/issues/4495
296296// Test Tables() returns tables from specific schema using explicit schema parameter.
297- // Note: SET search_path is session-specific and doesn't work reliably with connection pooling.
298- // The recommended approach is to use db.Tables(ctx, schema) with explicit schema parameter.
299297func Test_Issue4495_Tables_SearchPath (t * testing.T ) {
300298 var (
301299 schema1 = fmt .Sprintf ("test_schema1_%d" , gtime .TimestampNano ())
@@ -365,9 +363,7 @@ func Test_Issue4495_Tables_SearchPath(t *testing.T) {
365363
366364// https://github.com/gogf/gf/issues/4495
367365// Test TableFields() returns correct field info for same-name tables in different schemas
368- // using schema-qualified table names.
369- // Note: SET search_path is session-specific and doesn't work reliably with connection pooling.
370- // The recommended approach is to use schema-qualified table names like "schema.table".
366+ // using schema-qualified table names like "schema.table".
371367func Test_Issue4495_TableFields_SchemaFilter (t * testing.T ) {
372368 var (
373369 schema1 = fmt .Sprintf ("test_schema1_%d" , gtime .TimestampNano ())
You can’t perform that action at this time.
0 commit comments