Skip to content

Commit 98ec630

Browse files
authored
Update README.rst
fix typo search_patch to the correct search_path in postgres command
1 parent 91aca35 commit 98ec630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The main technique is as follows:
4848
``request`` object, and save it in thread-local storage.
4949
#. Later in the request, when a database cursor is accquired, issue an
5050
SQL ``USE <tenant database name>`` for the desired tenant with MySQL
51-
or ``SET search_patch TO <tenant name>`` with PostgreSQL.
51+
or ``SET search_path TO <tenant name>`` with PostgreSQL.
5252

5353
Step 1 is accomplished by implementing a `mapper
5454
class <https://github.com/mik3y/django-db-multitenant/blob/master/db_multitenant/mapper.py>`__.

0 commit comments

Comments
 (0)