----- Original Message ----- From: "Peter Eisentraut" <[EMAIL PROTECTED]> To: "Rory Campbell-Lange" <[EMAIL PROTECTED]> Cc: "Postgresql General List" <[EMAIL PROTECTED]> Sent: Thursday, May 27, 2004 1:10 PM Subject: Re: [GENERAL] Naive schema questions
> Am Donnerstag, 27. Mai 2004 13:15 schrieb Rory Campbell-Lange: > > I imagined schemas might allow me to globally update functions across a > > database hosting many schemas with the same structure. > > Put your data tables in separate schemas, put the functions in yet another > schema, and then when you connect set the schema search path to "dataschema, > functionschema" (or maybe vice versa). Or when you make the calls in the web app use the following: SELECT function_schema.function1(arg1, arg2); instead of just: SELECT function1(arg1, arg2); But like Peter said have a schema per client/"instance" of your database. Nick ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])