Hi, Chris, Chris Mair wrote: > Now I was wondering whether one could have a > SELECT pg_setpriority(10); > executed automatically each time a certain user > connects (not necessarily using psql)? > > Any ideas if and how this might be possible? When using Java, most Datasource implementations (e. G. the JBoss one) allow to specify SQL statements that are executed on connection init. Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org