Re: Creating dynamically-typed tables using psycopg2's built-in formatting

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Re: Creating dynamically-typed tables using psycopg2's built-in formatting
Дата
Msg-id CA+mi_8aMcR3uhZHjdDkWfx_zJ9NgnHL9U_injEjg62wA5+7YUg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Creating dynamically-typed tables using psycopg2's built-in formatting  (Sebastiaan Mannem <sebastiaan.mannem@enterprisedb.com>)
Ответы Re: Creating dynamically-typed tables using psycopg2's built-in formatting  (Daniel Cohen <daniel.m.cohen@berkeley.edu>)
Список psycopg
On Fri, Jun 14, 2019 at 6:44 PM Sebastiaan Mannem <sebastiaan.mannem@enterprisedb.com> wrote:
Yeah,
"schema.tbl" will search all schemas in search path for a table explicitly called "schema.tbl".
So that will never find a table called "tbl", and most probably never find a table at all.

Also note that from psycopg 2.8 you can use Identifier("schema", "tbl") to represent a dot-separated sequence of identifiers.


-- Daniele
Вложения

В списке psycopg по дате отправления:

Предыдущее
От: Sebastiaan Mannem
Дата:
Сообщение: Re: Creating dynamically-typed tables using psycopg2's built-in formatting
Следующее
От: Daniel Cohen
Дата:
Сообщение: Re: Creating dynamically-typed tables using psycopg2's built-in formatting