Skip to content

Commit

Permalink
Added blank spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhibhammar committed Sep 30, 2024
1 parent 225313f commit 703fa73
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,18 +124,18 @@ NOTICE: pg collation not found for entry (XGERMAN,abc) in nls config file at li

It's important to recognize that collation values are platform-dependent, meaning a collation available on one platform might not be present on another. To avoid compatibility issues, always use collations that are available in the `pg_collation` table within your environment.

Each client session reads the config file and stores the NLS parameters and collation values in in-memory HASH data structure when any of the NLS function is called for the first time.The parsing logic will read each row sequentially, segregate NLS parameters and collation values, and then store them in the right data structure.
Each client session reads the config file and stores the NLS parameters and collation values in in-memory HASH data structure when any of the NLS function is called for the first time. The parsing logic will read each row sequentially, segregate NLS parameters and collation values, and then store them in the right data structure.

Making changes to the config file manually requires you to reload the NLS config files in all sessions or restart the session to work with the updated mappings.Using the `edb_nls_cf_insert` function to modify the config file in a session will update the in-memory HASH data structure with new mappings. Changes made in a session will only affect other sessions after the config file is reloaded or after the other sessions are restarted.
Making changes to the config file manually requires you to reload the NLS config files in all sessions or restart the session to work with the updated mappings. Using the `edb_nls_cf_insert` function to modify the config file in a session will update the in-memory HASH data structure with new mappings. Changes made in a session will only affect other sessions after the config file is reloaded or after the other sessions are restarted.

The available functions for managing the NLS config file are listed in the following table:

| Function | Return type | Description |
|-----------------------------------------------------------|-------------|------------------------------------------------------------------------------------------------------------------|
| `edb_nls_cf_insert(nls TEXT, collation TEXT)` | VOID | Adds a new mapping in the NLS config file with the given NLS parameter and a mapping collation. |
| Function | Return type | Description |
|-----------------------------------------------------------|-------------|---------------------------------------------------------------------------------------------------------------------|
| `edb_nls_cf_insert(nls TEXT, collation TEXT)` | VOID | Adds a new mapping in the NLS config file with the given NLS parameter and a mapping collation. |
| `edb_nls_cf_reload()` | VOID | Reloads the NLS config file and updates the NLS parameter and a mapping collation in in-memory HASH data structure. |
| `edb_nls_cf_hash_dump(OUT nls TEXT, OUT collationid INT)` | RECORD | Dumps the NLS parameter and a mapping collation HASH contents on the client session. |
| `edb_nls_cf_dump(OUT nls TEXT, OUT collation TEXT)` | RECORD | Dumps the existing NLS config file contents on the client session. |
| `edb_nls_cf_hash_dump(OUT nls TEXT, OUT collationid INT)` | RECORD | Dumps the NLS parameter and a mapping collation HASH contents on the client session. |
| `edb_nls_cf_dump(OUT nls TEXT, OUT collation TEXT)` | RECORD | Dumps the existing NLS config file contents on the client session. |


**Supported NLS functions**
Expand Down

0 comments on commit 703fa73

Please sign in to comment.