Re: RFD: schemas and different kinds of Postgres objects

Поиск
Список
Период
Сортировка
От Gavin Sherry
Тема Re: RFD: schemas and different kinds of Postgres objects
Дата
Msg-id Pine.LNX.4.21.0201251517350.12632-100000@linuxworld.com.au
обсуждение исходный текст
Ответ на Re: RFD: schemas and different kinds of Postgres objects  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: RFD: schemas and different kinds of Postgres objects
Список pgsql-hackers
On Wed, 23 Jan 2002, Tom Lane wrote:

> If you use only the SQL-defined operations, after setting up any
> configuration variables we may invent in the way we will document as
> necessary for SQL-compatible behavior, then you will get SQL-compatible
> behavior.  I do not think that precludes having an underlying
> implementation that sees the world differently than SQL does and
> supports non-SQL behaviors too.  (For that matter, I'm sure there is
> text somewhere in the spec that points out that the spec intends to
> define user-visible behavior, not implementation.)

This makes a lot of sense and suggests the possibility of 'schema enabled'
databases. That is, a switch 'bool withschemas' (which defaults to
false) could be added to pg_database. If true, the parser and ownership
model reflects that of SQL'99 and/or the Postgres schema model. If false,
the existing 'schema' model is assumed.

This should allow existing users to migrate their data and applications to
7.3 without having to modify either.

Its not an ideal solution but backward compatibility is generally results
in compromise ;).

Gavin



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: RFD: schemas and different kinds of Postgres objects
Следующее
От: Tom Lane
Дата:
Сообщение: Re: RFD: schemas and different kinds of Postgres objects