![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
But the following works: fduch@~=# SET search_path TO test_schema; SET fduch@~=# INSERT INTO test_table DEFAULT VALUES ; INSERT 0 1 fduch@~=# SET search_path TO public; SET fduch@~=# INSERT INTO test_schema.test_table DEFAULT VALUES ; INSERT 0 1 AFAIK plPgSQL function, have been compiled once, caches query plans so it directly refers tables (by oids or something else). Is that the reason for the last insert to work? |
![]() |
| Thread Tools | |
| Display Modes | |
| |