Re: Umstellung von MySQL auf PostgreSQL

"Albe Laurenz" <[email protected]>
Newsgroups gmane.comp.db.postgresql.german
Message-ID <D960CB61B694CF459DCFB4B0128514C208246CAB@exadv11.host.magwien.gv.at>
Guenther Boelter schrieb:
> Was ist dieses 'CTE', dass da mit der 8.4 eingefuehrt wurde und wie kann
> ich den 'search_path' per User bzw. per Mandant passend setzen?

Common Table Expressions oder WITH-Queries:
http://www.postgresql.org/docs/current/static/queries-with.html

search_path kann per User so gesetzt werden:
1) Durch "SET search_path=schema1,schema2" nach jedem Connect.
2) Durch "ALTER USER ... SET search_path=schema1,schema2".

Liebe Grüße,
Laurenz Albe

-- 
Sent via pgsql-de-allgemein mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-de-allgemein
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.