14 Replies Latest reply: Aug 24, 2012 8:23 AM by DarKOrange
DarKOrange Level 1 Level 1 (5 points)

Hi all,

 

I've an issue with PostgrSQL.

I've made a clean install of OS X 10.8 server and set up PostgreSQL accordingly to the post in this thread :

 

https://discussions.apple.com/thread/4153247?start=0&tstart=0

 

First I have to start PostgreSQL manually when I start the server.

The it runs for a few minutes and shuts down... i can restart it and it shutsdown again etc.

 

I need help! Thank you!

 

Here is the postgrSQL.log file

 

2012-08-21 08:51:33 CEST LOG:  database system is shut down

2012-08-21 09:51:17 CEST LOG:  database system was shut down at 2012-08-21 08:51:33 CEST

2012-08-21 09:51:17 CEST LOG:  autovacuum launcher started

2012-08-21 09:51:17 CEST LOG:  database system is ready to accept connections

2012-08-21 09:51:19 CEST LOG:  connection received: host=[local]

2012-08-21 09:51:19 CEST LOG:  connection authorized: user=_devicemgr database=device_management

2012-08-21 09:51:20 CEST LOG:  received smart shutdown request

2012-08-21 09:51:20 CEST LOG:  autovacuum launcher shutting down

2012-08-21 09:51:20 CEST LOG:  shutting down

2012-08-21 09:51:20 CEST LOG:  database system is shut down

2012-08-21 09:51:21 CEST LOG:  database system was shut down at 2012-08-21 09:51:20 CEST

2012-08-21 09:51:21 CEST LOG:  database system is ready to accept connections

2012-08-21 09:51:21 CEST LOG:  autovacuum launcher started

2012-08-21 09:51:21 CEST LOG:  connection received: host=[local]

2012-08-21 09:51:21 CEST LOG:  connection authorized: user=collab database=collab

2012-08-21 09:51:22 CEST LOG:  connection received: host=[local]

2012-08-21 09:51:22 CEST LOG:  connection authorized: user=collab database=collab

2012-08-21 09:51:22 CEST LOG:  received smart shutdown request

2012-08-21 09:51:22 CEST LOG:  autovacuum launcher shutting down

2012-08-21 09:51:22 CEST LOG:  shutting down

2012-08-21 09:51:22 CEST LOG:  database system is shut down

2012-08-21 09:51:23 CEST LOG:  database system was shut down at 2012-08-21 09:51:22 CEST

2012-08-21 09:51:23 CEST LOG:  autovacuum launcher started

2012-08-21 09:51:23 CEST LOG:  database system is ready to accept connections

2012-08-21 09:51:25 CEST LOG:  connection received: host=[local]

2012-08-21 09:51:25 CEST LOG:  connection authorized: user=_devicemgr database=device_management

2012-08-21 09:51:25 CEST LOG:  received smart shutdown request

2012-08-21 09:51:25 CEST LOG:  autovacuum launcher shutting down

2012-08-21 09:51:25 CEST LOG:  shutting down

2012-08-21 09:51:25 CEST LOG:  database system is shut down

2012-08-21 09:51:33 CEST LOG:  database system was shut down at 2012-08-21 09:51:25 CEST

2012-08-21 09:51:33 CEST LOG:  database system is ready to accept connections

2012-08-21 09:51:33 CEST LOG:  autovacuum launcher started

2012-08-21 09:51:33 CEST LOG:  connection received: host=[local]

2012-08-21 09:51:33 CEST LOG:  connection authorized: user=collab database=collab

2012-08-21 09:51:33 CEST LOG:  connection received: host=[local]

2012-08-21 09:51:33 CEST LOG:  connection authorized: user=collab database=collab

2012-08-21 09:51:33 CEST LOG:  received smart shutdown request

2012-08-21 09:51:33 CEST LOG:  autovacuum launcher shutting down

2012-08-21 09:51:33 CEST LOG:  shutting down

2012-08-21 09:51:33 CEST LOG:  database system is shut down

2012-08-21 10:27:06 CEST LOG:  database system was shut down at 2012-08-21 09:51:33 CEST

2012-08-21 10:27:06 CEST LOG:  database system is ready to accept connections

2012-08-21 10:27:06 CEST LOG:  autovacuum launcher started

2012-08-21 10:27:06 CEST LOG:  connection received: host=[local]

2012-08-21 10:27:06 CEST LOG:  connection authorized: user=_postgres database=postgres


Mac mini, OS X Server
  • redshift82r Level 2 Level 2 (325 points)

    OK - 1st thing to do is to up the debug level a little in postgres.

     

    using your favourite editor, add the last 2 lines of <string> ( -d  and 2) to /library/server/postgresql/config/org.postgresql.postgres.plist

     

     

     

    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

    <plist version="1.0">

    <dict>

              <key>ProgramArguments</key>

              <array>

                        <string>-D</string>

                        <string>/Library/Server/PostgreSQL/Data</string>

                        <string>-c</string>

                        <string>listen_addresses=127.0.0.1</string>

                        <string>-c</string>

                        <string>log_connections=on</string>

                        <string>-c</string>

                        <string>log_directory=/Library/Logs/PostgreSQL</string>

                        <string>-c</string>

                        <string>log_filename=PostgreSQL.log</string>

                        <string>-c</string>

                        <string>log_lock_waits=on</string>

                        <string>-c</string>

                        <string>log_statement=ddl</string>

                        <string>-c</string>

                        <string>log_line_prefix=%t </string>

                        <string>-c</string>

                        <string>logging_collector=on</string>

                        <string>-c</string>

                        <string>unix_socket_directory=/var/pgsql_socket</string>

                        <string>-c</string>

                        <string>unix_socket_group=_postgres</string>

                        <string>-c</string>

                        <string>unix_socket_permissions=0770</string>

                        <string>-d</string>

                        <string>2</string>

              </array>

    </dict>

    </plist>

     

    Debug levels go from 1-5 , but 2 should be sufficient for now

     

    stop and start postgres from serveradmin

     

    $ sudo serveradmin stop postgres

    $ sudo serveradmin start postgres

    You may want to also while you are fault-finding change the group permissions on the postgresql.log which allows it to be seen inside console.app

     

    $ sudo chown _postgres:admin /library/logs/postgresql/postgresql.log

     

    and have a look at the postgresql.log  and report back.  Also have a look in system.log for any activity around the time of starting postgres and see what is happening there.

     

    You can always up the debug level for postgres to 3, 4 or 5 if you need more info.  I'm still voting for a permissions, mis-config or resources issue, but lets take it step by step - might also be worth checking the plist above against yours and make sure its the same ( with any differences for where you set your server path)

     

    cheers

    Gerry

  • DarKOrange Level 1 Level 1 (5 points)

    Hello !

    Here is the new log with level set to 2 :

    2012-08-22 17:14:03 CEST LOG:  database system was shut down at 2012-08-22 17:13:56 CEST

    2012-08-22 17:14:03 CEST DEBUG:  checkpoint record is at 0/2C552D0

    2012-08-22 17:14:03 CEST DEBUG:  redo record is at 0/2C552D0; shutdown TRUE

    2012-08-22 17:14:03 CEST DEBUG:  next transaction ID: 0/3610; next OID: 35767

    2012-08-22 17:14:03 CEST DEBUG:  next MultiXactId: 1; next MultiXactOffset: 0

    2012-08-22 17:14:03 CEST DEBUG:  oldest unfrozen transaction ID: 985, in database 1

    2012-08-22 17:14:03 CEST DEBUG:  transaction ID wrap limit is 2147484632, limited by database with OID 1

    2012-08-22 17:14:03 CEST LOG:  database system is ready to accept connections

    2012-08-22 17:14:03 CEST LOG:  autovacuum launcher started

    2012-08-22 17:14:03 CEST DEBUG:  forked new backend, pid=19522 socket=9

    2012-08-22 17:14:03 CEST LOG:  connection received: host=[local]

    2012-08-22 17:14:03 CEST LOG:  connection authorized: user=_postgres database=postgres

    2012-08-22 17:14:03 CEST LOG:  disconnection: session time: 0:00:00.006 user=_postgres database=postgres host=[local]

    2012-08-22 17:14:03 CEST DEBUG:  server process (PID 19522) exited with exit code 0

    2012-08-22 17:14:11 CEST DEBUG:  autovacuum: processing database "roundcubemail"

    2012-08-22 17:14:11 CEST DEBUG:  server process (PID 19523) exited with exit code 0

    2012-08-22 17:14:20 CEST DEBUG:  autovacuum: processing database "webauth"

    2012-08-22 17:14:20 CEST DEBUG:  server process (PID 19525) exited with exit code 0

    2012-08-22 17:14:28 CEST DEBUG:  autovacuum: processing database "collab"

    2012-08-22 17:14:28 CEST DEBUG:  server process (PID 19530) exited with exit code 0

    2012-08-22 17:14:37 CEST DEBUG:  autovacuum: processing database "device_management"

    2012-08-22 17:14:37 CEST DEBUG:  server process (PID 19535) exited with exit code 0

    2012-08-22 17:14:46 CEST DEBUG:  autovacuum: processing database "caldav"

    2012-08-22 17:14:46 CEST DEBUG:  server process (PID 19538) exited with exit code 0

    2012-08-22 17:14:54 CEST DEBUG:  autovacuum: processing database "postgres"

    2012-08-22 17:14:54 CEST DEBUG:  server process (PID 19539) exited with exit code 0

    2012-08-22 17:15:03 CEST DEBUG:  autovacuum: processing database "template1"

    2012-08-22 17:15:03 CEST DEBUG:  server process (PID 19540) exited with exit code 0

    2012-08-22 17:15:11 CEST DEBUG:  autovacuum: processing database "roundcubemail"

    2012-08-22 17:15:11 CEST DEBUG:  server process (PID 19543) exited with exit code 0

    2012-08-22 17:15:20 CEST DEBUG:  autovacuum: processing database "webauth"

    2012-08-22 17:15:20 CEST DEBUG:  server process (PID 19544) exited with exit code 0

    2012-08-22 17:15:28 CEST DEBUG:  autovacuum: processing database "collab"

    2012-08-22 17:15:28 CEST DEBUG:  server process (PID 19545) exited with exit code 0

    2012-08-22 17:15:37 CEST DEBUG:  autovacuum: processing database "device_management"

    2012-08-22 17:15:37 CEST DEBUG:  server process (PID 19546) exited with exit code 0

    2012-08-22 17:15:46 CEST DEBUG:  autovacuum: processing database "caldav"

    2012-08-22 17:15:46 CEST DEBUG:  server process (PID 19547) exited with exit code 0

    2012-08-22 17:15:47 CEST DEBUG:  forked new backend, pid=19548 socket=9

    2012-08-22 17:15:47 CEST LOG:  connection received: host=127.0.0.1 port=53727

    2012-08-22 17:15:47 CEST LOG:  connection authorized: user=roundcube database=roundcubemail

    2012-08-22 17:15:47 CEST LOG:  statement: SET SESSION DATESTYLE = 'ISO'

    2012-08-22 17:15:47 CEST LOG:  statement: SET SESSION STANDARD_CONFORMING_STRINGS = OFF

    2012-08-22 17:15:47 CEST LOG:  statement: SET SESSION ESCAPE_STRING_WARNING = OFF

    2012-08-22 17:15:47 CEST LOG:  statement: set client_encoding to 'utf8'

    2012-08-22 17:15:47 CEST DEBUG:  parse mdb2_statement_pgsql_165b13994b8d3ef0542b8309ac8711b30688865b5: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:15:47 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_165b13994b8d3ef0542b8309ac8711b30688865b5 ('q989nomffnc81bku3v2ogm1ga1shs2a4f6nsugfd8oc09a1f4rcpqrcpi8ueg4ohmot8voriftepb q4f1n67sh698vuuersujgbrj93')

    2012-08-22 17:15:47 CEST DETAIL:  prepare: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:15:47 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_165b13994b8d3ef0542b8309ac8711b30688865b5

    2012-08-22 17:15:47 CEST DEBUG:  parse mdb2_statement_pgsql_2ad6e26e579efcedfa57d672892b6af275380c044: INSERT INTO session (sess_id, vars, ip, created, changed) VALUES ($1, $2, $3, '2012-08-22 17:15:47', '2012-08-22 17:15:47')

    2012-08-22 17:15:47 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_2ad6e26e579efcedfa57d672892b6af275380c044 ('q989nomffnc81bku3v2ogm1ga1shs2a4f6nsugfd8oc09a1f4rcpqrcpi8ueg4ohmot8voriftepb q4f1n67sh698vuuersujgbrj93', 'dGVtcHxiOjE7bGFuZ3VhZ2V8czo1OiJmcl9GUiI7dGFza3xzOjU6ImxvZ2luIjs=', '192.168.0.254')

    2012-08-22 17:15:47 CEST DETAIL:  prepare: INSERT INTO session (sess_id, vars, ip, created, changed) VALUES ($1, $2, $3, '2012-08-22 17:15:47', '2012-08-22 17:15:47')

    2012-08-22 17:15:47 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_2ad6e26e579efcedfa57d672892b6af275380c044

    2012-08-22 17:15:47 CEST LOG:  disconnection: session time: 0:00:00.033 user=roundcube database=roundcubemail host=127.0.0.1 port=53727

    2012-08-22 17:15:47 CEST DEBUG:  server process (PID 19548) exited with exit code 0

    2012-08-22 17:15:54 CEST DEBUG:  autovacuum: processing database "postgres"

    2012-08-22 17:15:54 CEST DEBUG:  server process (PID 19558) exited with exit code 0

    2012-08-22 17:15:57 CEST DEBUG:  forked new backend, pid=19559 socket=9

    2012-08-22 17:15:57 CEST LOG:  connection received: host=127.0.0.1 port=53731

    2012-08-22 17:15:57 CEST LOG:  connection authorized: user=roundcube database=roundcubemail

    2012-08-22 17:15:57 CEST LOG:  statement: SET SESSION DATESTYLE = 'ISO'

    2012-08-22 17:15:57 CEST LOG:  statement: SET SESSION STANDARD_CONFORMING_STRINGS = OFF

    2012-08-22 17:15:57 CEST LOG:  statement: SET SESSION ESCAPE_STRING_WARNING = OFF

    2012-08-22 17:15:57 CEST LOG:  statement: set client_encoding to 'utf8'

    2012-08-22 17:15:57 CEST DEBUG:  parse mdb2_statement_pgsql_11c3427c3c47b7a43b37649bbf7c5a01b29e32670: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:15:57 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_11c3427c3c47b7a43b37649bbf7c5a01b29e32670 ('q989nomffnc81bku3v2ogm1ga1shs2a4f6nsugfd8oc09a1f4rcpqrcpi8ueg4ohmot8voriftepb q4f1n67sh698vuuersujgbrj93')

    2012-08-22 17:15:57 CEST DETAIL:  prepare: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:15:57 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_11c3427c3c47b7a43b37649bbf7c5a01b29e32670

    2012-08-22 17:15:57 CEST DEBUG:  parse mdb2_statement_pgsql_21b2244e3b0c0946ee1a859d7c9ef4a325eaff036: DELETE FROM session WHERE sess_id = $1

    2012-08-22 17:15:57 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_21b2244e3b0c0946ee1a859d7c9ef4a325eaff036 ('q989nomffnc81bku3v2ogm1ga1shs2a4f6nsugfd8oc09a1f4rcpqrcpi8ueg4ohmot8voriftepb q4f1n67sh698vuuersujgbrj93')

    2012-08-22 17:15:57 CEST DETAIL:  prepare: DELETE FROM session WHERE sess_id = $1

    2012-08-22 17:15:57 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_21b2244e3b0c0946ee1a859d7c9ef4a325eaff036

    2012-08-22 17:15:57 CEST DEBUG:  parse mdb2_statement_pgsql_3c9b53e5223faab30306c315286e14e19c0b11c7a: SELECT * FROM users WHERE mail_host = $1 AND username = $2

    2012-08-22 17:15:57 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_3c9b53e5223faab30306c315286e14e19c0b11c7a ('mail.dark-orange.com', 'laurent')

    2012-08-22 17:15:57 CEST DETAIL:  prepare: SELECT * FROM users WHERE mail_host = $1 AND username = $2

    2012-08-22 17:15:57 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_3c9b53e5223faab30306c315286e14e19c0b11c7a

    2012-08-22 17:15:57 CEST DEBUG:  parse mdb2_statement_pgsql_47a1fe934000ba852343e3668b1fd199a365c2f53: UPDATE users SET last_login = now() WHERE user_id = $1

    2012-08-22 17:15:57 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_47a1fe934000ba852343e3668b1fd199a365c2f53 ('3')

    2012-08-22 17:15:57 CEST DETAIL:  prepare: UPDATE users SET last_login = now() WHERE user_id = $1

    2012-08-22 17:15:57 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_47a1fe934000ba852343e3668b1fd199a365c2f53

    2012-08-22 17:15:57 CEST DEBUG:  parse mdb2_statement_pgsql_5f891c58788e3d6997b49d08bc0dab50b7c068084: INSERT INTO session (sess_id, vars, ip, created, changed) VALUES ($1, $2, $3, '2012-08-22 17:15:57', '2012-08-22 17:15:57')

    2012-08-22 17:15:57 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_5f891c58788e3d6997b49d08bc0dab50b7c068084 ('4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03 q818stkrs5f8g7bdb7tkjee8t0', 'bGFuZ3VhZ2V8czo1OiJmcl9GUiI7c2tpbnxzOjU6ImxhcnJ5IjtpbWFwX25hbWVzcGFjZXxhOjQ6e3 M6ODoicGVyc29uYWwiO2E6MTp7aTowO2E6Mjp7aTowO3M6MDoiIjtpOjE7czoxOiIuIjt9fXM6NToib3 RoZXIiO047czo2OiJzaGFyZWQiO047czo2OiJwcmVmaXgiO3M6MDoiIjt9aW1hcF9kZWxpbWl0ZXJ8cz oxOiIuIjt1c2VyX2lkfHM6MToiMyI7dXNlcm5hbWV8czo3OiJsYXVyZW50IjtzdG9yYWdlX2hvc3R8cz oyMDoibWFpbC5kYXJrLW9yYW5nZS5jb20iO3N0b3JhZ2VfcG9ydHxpOjk5MztzdG9yYWdlX3NzbHxzOj M6InNzbCI7cGFzc3dvcmR8czozMjoiZ2NuUnZodmtHT3RwRk9JNUV4SHBhYVN3NjNUUDE0V1YiO2xvZ2 luX3RpbWV8aToxMzQ1NjQ4NTU3O3RpbWV6b25lfGQ6MTtkc3RfYWN0aXZlfGk6MTs=', '192.168.0.254')

    2012-08-22 17:15:57 CEST DETAIL:  prepare: INSERT INTO session (sess_id, vars, ip, created, changed) VALUES ($1, $2, $3, '2012-08-22 17:15:57', '2012-08-22 17:15:57')

    2012-08-22 17:15:57 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_5f891c58788e3d6997b49d08bc0dab50b7c068084

    2012-08-22 17:15:57 CEST LOG:  disconnection: session time: 0:00:00.292 user=roundcube database=roundcubemail host=127.0.0.1 port=53731

    2012-08-22 17:15:57 CEST DEBUG:  server process (PID 19559) exited with exit code 0

    2012-08-22 17:15:57 CEST DEBUG:  forked new backend, pid=19567 socket=9

    2012-08-22 17:15:57 CEST LOG:  connection received: host=127.0.0.1 port=53734

    2012-08-22 17:15:57 CEST LOG:  connection authorized: user=roundcube database=roundcubemail

    2012-08-22 17:15:57 CEST LOG:  statement: SET SESSION DATESTYLE = 'ISO'

    2012-08-22 17:15:57 CEST LOG:  statement: SET SESSION STANDARD_CONFORMING_STRINGS = OFF

    2012-08-22 17:15:57 CEST LOG:  statement: SET SESSION ESCAPE_STRING_WARNING = OFF

    2012-08-22 17:15:57 CEST LOG:  statement: set client_encoding to 'utf8'

    2012-08-22 17:15:57 CEST DEBUG:  parse mdb2_statement_pgsql_1a0a70aaa5cffda8fb14c74b62294bfd7579b46b6: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:15:57 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_1a0a70aaa5cffda8fb14c74b62294bfd7579b46b6 ('4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03 q818stkrs5f8g7bdb7tkjee8t0')

    2012-08-22 17:15:57 CEST DETAIL:  prepare: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:15:57 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_1a0a70aaa5cffda8fb14c74b62294bfd7579b46b6

    2012-08-22 17:15:57 CEST DEBUG:  parse mdb2_statement_pgsql_21f0abd2f4a7c029d37ca3e6a92a0e4a14b03bb9b: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:15:57 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_21f0abd2f4a7c029d37ca3e6a92a0e4a14b03bb9b ('3')

    2012-08-22 17:15:57 CEST DETAIL:  prepare: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:15:57 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_21f0abd2f4a7c029d37ca3e6a92a0e4a14b03bb9b

    2012-08-22 17:15:58 CEST DEBUG:  parse mdb2_statement_pgsql_35540a0403fd2b669101176c8ff162a1b40e7406a: SELECT * FROM identities WHERE del <> 1 AND user_id = $1 ORDER BY "standard" DESC, name ASC, identity_id ASC

    2012-08-22 17:15:58 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_35540a0403fd2b669101176c8ff162a1b40e7406a ('3')

    2012-08-22 17:15:58 CEST DETAIL:  prepare: SELECT * FROM identities WHERE del <> 1 AND user_id = $1 ORDER BY "standard" DESC, name ASC, identity_id ASC

    2012-08-22 17:15:58 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_35540a0403fd2b669101176c8ff162a1b40e7406a

    2012-08-22 17:15:58 CEST DEBUG:  parse mdb2_statement_pgsql_4cea21f2039f42eb086a46ea1fd124cce3e151cb4: UPDATE session SET vars=$1, changed='2012-08-22 17:15:58' WHERE sess_id=$2

    2012-08-22 17:15:58 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_4cea21f2039f42eb086a46ea1fd124cce3e151cb4 ('bGFuZ3VhZ2V8czo1OiJmcl9GUiI7c2tpbnxzOjU6ImxhcnJ5IjtpbWFwX25hbWVzcGFjZXxhOjQ6e 3M6ODoicGVyc29uYWwiO2E6MTp7aTowO2E6Mjp7aTowO3M6MDoiIjtpOjE7czoxOiIuIjt9fXM6NToib 3RoZXIiO047czo2OiJzaGFyZWQiO047czo2OiJwcmVmaXgiO3M6MDoiIjt9aW1hcF9kZWxpbWl0ZXJ8c zoxOiIuIjt1c2VyX2lkfHM6MToiMyI7dXNlcm5hbWV8czo3OiJsYXVyZW50IjtzdG9yYWdlX2hvc3R8c zoyMDoibWFpbC5kYXJrLW9yYW5nZS5jb20iO3N0b3JhZ2VfcG9ydHxpOjk5MztzdG9yYWdlX3NzbHxzO jM6InNzbCI7cGFzc3dvcmR8czozMjoiZ2NuUnZodmtHT3RwRk9JNUV4SHBhYVN3NjNUUDE0V1YiO2xvZ 2luX3RpbWV8aToxMzQ1NjQ4NTU3O3RpbWV6b25lfGQ6MTtkc3RfYWN0aXZlfGk6MTt0YXNrfHM6NDoib WFpbCI7aW1hcF9ob3N0fHM6MjA6Im1haWwuZGFyay1vcmFuZ2UuY29tIjttYm94fHM6NToiSU5CT1giO 3NvcnRfY29sfHM6NDoiZGF0ZSI7c29ydF9vcmRlcnxzOjQ6IkRFU0MiO1NUT1JBR0VfUVVPVEF8YjoxO 1NUT1JBR0VfVEhSRUFEfGE6Mjp7aTowO3M6MTA6IlJFRkVSRU5DRVMiO2k6MTtzOjQ6IlJFRlMiO31TV E9SQUdFX0xJU1QtRVhURU5ERUR8YjoxO3F1b3RhX2Rpc3BsYXl8czo0OiJ0ZXh0IjtsaXN0X2F0dHJpY nxhOjQ6e3M6NDoibmFtZSI7czo4OiJtZXNzYWdlcyI7czoyOiJpZCI7czoxMToibWVzc2FnZWxpc3QiO 3M6NToiY2xhc3MiO3M6MjQ6InJlY29yZHMtdGFibGUgc29ydGhlYWRlciI7czoxNToib3B0aW9uc21lb nVpY29uIjtzOjQ6InRydWUiO31za2luX3BhdGh8czoxMToic2tpbnMvbGFycnkiOw==', '4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03q 818stkrs5f8g7bdb7tkjee8t0')

    2012-08-22 17:15:58 CEST DETAIL:  prepare: UPDATE session SET vars=$1, changed='2012-08-22 17:15:58' WHERE sess_id=$2

    2012-08-22 17:15:58 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_4cea21f2039f42eb086a46ea1fd124cce3e151cb4

    2012-08-22 17:15:58 CEST LOG:  disconnection: session time: 0:00:00.238 user=roundcube database=roundcubemail host=127.0.0.1 port=53734

    2012-08-22 17:15:58 CEST DEBUG:  server process (PID 19567) exited with exit code 0

    2012-08-22 17:15:59 CEST DEBUG:  forked new backend, pid=19569 socket=9

    2012-08-22 17:15:59 CEST LOG:  connection received: host=127.0.0.1 port=53737

    2012-08-22 17:15:59 CEST LOG:  connection authorized: user=roundcube database=roundcubemail

    2012-08-22 17:15:59 CEST LOG:  statement: SET SESSION DATESTYLE = 'ISO'

    2012-08-22 17:15:59 CEST LOG:  statement: SET SESSION STANDARD_CONFORMING_STRINGS = OFF

    2012-08-22 17:15:59 CEST LOG:  statement: SET SESSION ESCAPE_STRING_WARNING = OFF

    2012-08-22 17:15:59 CEST LOG:  statement: set client_encoding to 'utf8'

    2012-08-22 17:15:59 CEST DEBUG:  parse mdb2_statement_pgsql_1ca6bfba7b12f44528dc4d033b298f6a4c9e04ca0: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:15:59 CEST DEBUG:  forked new backend, pid=19570 socket=9

    2012-08-22 17:15:59 CEST LOG:  connection received: host=127.0.0.1 port=53738

    2012-08-22 17:15:59 CEST LOG:  connection authorized: user=roundcube database=roundcubemail

    2012-08-22 17:15:59 CEST LOG:  statement: SET SESSION DATESTYLE = 'ISO'

    2012-08-22 17:15:59 CEST LOG:  statement: SET SESSION STANDARD_CONFORMING_STRINGS = OFF

    2012-08-22 17:15:59 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_1ca6bfba7b12f44528dc4d033b298f6a4c9e04ca0 ('4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03 q818stkrs5f8g7bdb7tkjee8t0')

    2012-08-22 17:15:59 CEST DETAIL:  prepare: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:15:59 CEST LOG:  statement: SET SESSION ESCAPE_STRING_WARNING = OFF

    2012-08-22 17:15:59 CEST LOG:  statement: set client_encoding to 'utf8'

    2012-08-22 17:15:59 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_1ca6bfba7b12f44528dc4d033b298f6a4c9e04ca0

    2012-08-22 17:15:59 CEST DEBUG:  parse mdb2_statement_pgsql_12f5162723408aa3bb98b7531a81b79d8da8d0653: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:15:59 CEST DEBUG:  parse mdb2_statement_pgsql_21dd3143b9db72568859605265b59d5399924d89b: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:15:59 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_21dd3143b9db72568859605265b59d5399924d89b ('3')

    2012-08-22 17:15:59 CEST DETAIL:  prepare: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:15:59 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_21dd3143b9db72568859605265b59d5399924d89b

    2012-08-22 17:15:59 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_12f5162723408aa3bb98b7531a81b79d8da8d0653 ('4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03 q818stkrs5f8g7bdb7tkjee8t0')

    2012-08-22 17:15:59 CEST DETAIL:  prepare: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:15:59 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_12f5162723408aa3bb98b7531a81b79d8da8d0653

    2012-08-22 17:15:59 CEST DEBUG:  parse mdb2_statement_pgsql_2a94ec3706e3a164d9425fb0b0b5deb5406f68313: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:15:59 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_2a94ec3706e3a164d9425fb0b0b5deb5406f68313 ('3')

    2012-08-22 17:15:59 CEST DETAIL:  prepare: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:15:59 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_2a94ec3706e3a164d9425fb0b0b5deb5406f68313

    2012-08-22 17:15:59 CEST DEBUG:  parse mdb2_statement_pgsql_3f1ec399c1f302ba20307b1032263cd50675a57db: UPDATE session SET vars=$1, changed='2012-08-22 17:15:59' WHERE sess_id=$2

    2012-08-22 17:15:59 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_3f1ec399c1f302ba20307b1032263cd50675a57db ('bGFuZ3VhZ2V8czo1OiJmcl9GUiI7c2tpbnxzOjU6ImxhcnJ5IjtpbWFwX25hbWVzcGFjZXxhOjQ6e 3M6ODoicGVyc29uYWwiO2E6MTp7aTowO2E6Mjp7aTowO3M6MDoiIjtpOjE7czoxOiIuIjt9fXM6NToib 3RoZXIiO047czo2OiJzaGFyZWQiO047czo2OiJwcmVmaXgiO3M6MDoiIjt9aW1hcF9kZWxpbWl0ZXJ8c zoxOiIuIjt1c2VyX2lkfHM6MToiMyI7dXNlcm5hbWV8czo3OiJsYXVyZW50IjtzdG9yYWdlX2hvc3R8c zoyMDoibWFpbC5kYXJrLW9yYW5nZS5jb20iO3N0b3JhZ2VfcG9ydHxpOjk5MztzdG9yYWdlX3NzbHxzO jM6InNzbCI7cGFzc3dvcmR8czozMjoiZ2NuUnZodmtHT3RwRk9JNUV4SHBhYVN3NjNUUDE0V1YiO2xvZ 2luX3RpbWV8aToxMzQ1NjQ4NTU3O3RpbWV6b25lfGQ6MTtkc3RfYWN0aXZlfGk6MTt0YXNrfHM6NDoib WFpbCI7aW1hcF9ob3N0fHM6MjA6Im1haWwuZGFyay1vcmFuZ2UuY29tIjttYm94fHM6NToiSU5CT1giO 3NvcnRfY29sfHM6NDoiZGF0ZSI7c29ydF9vcmRlcnxzOjQ6IkRFU0MiO1NUT1JBR0VfUVVPVEF8YjoxO 1NUT1JBR0VfVEhSRUFEfGE6Mjp7aTowO3M6MTA6IlJFRkVSRU5DRVMiO2k6MTtzOjQ6IlJFRlMiO31TV E9SQUdFX0xJU1QtRVhURU5ERUR8YjoxO3F1b3RhX2Rpc3BsYXl8czo0OiJ0ZXh0IjtsaXN0X2F0dHJpY nxhOjQ6e3M6NDoibmFtZSI7czo4OiJtZXNzYWdlcyI7czoyOiJpZCI7czoxMToibWVzc2FnZWxpc3QiO 3M6NToiY2xhc3MiO3M6MjQ6InJlY29yZHMtdGFibGUgc29ydGhlYWRlciI7czoxNToib3B0aW9uc21lb nVpY29uIjtzOjQ6InRydWUiO31za2luX3BhdGh8czoxMToic2tpbnMvbGFycnkiO3Vuc2Vlbl9jb3Vud HxhOjQ3OntzOjU6IklOQk9YIjtpOjA7czo2OiJEcmFmdHMiO2k6MDtzOjQ6IlNlbnQiO2k6MDtzOjQ6I kp1bmsiO2k6MDtzOjU6IlRyYXNoIjtpOjc7czoxNToiQWNoYXRzIEludGVybmV0IjtpOjA7czoyMDoiQ WNoYXRzIEludGVybmV0LkViYXkiO2k6MDtzOjQ6IkFtaXMiO2k6MDtzOjExOiJBbWlzLkFybmF1ZCI7a TowO3M6MTE6IkFtaXMuRnJhbmNrIjtpOjA7czoxOToiQW1pcy5KJkFPay1yJkFQUS1tZSI7aTowO3M6M TE6IkFtaXMuTWljaGVsIjtpOjA7czoxMToiQW1pcy5SdWJlbnMiO2k6MDtzOjE4OiJBbWlzLlMmQU9rL WJhc3RpZW4iO2k6MDtzOjg6IkFyY2hpdmVzIjtpOjA7czoxNDoiQXJjaGl2ZXMuRnJndXkiO2k6MDtzO jIxOiJBcmNoaXZlcy5NYXJpYWdlIENhcm8iO2k6MDtzOjE3OiJBcmNoaXZlcy5tZmFjdG9yeSI7aTowO 3M6MTY6IkRlbGV0ZWQgTWVzc2FnZXMiO2k6MDtzOjY6IkRpdmVycyI7aTowO3M6MTA6IkRpdmVycy5BU 0ciO2k6MDtzOjE4OiJEaXZlcnMuQVNHLnByZXV2ZXMiO2k6MDtzOjEyOiJEaXZlcnMuQXBwbGUiO2k6M DtzOjE2OiJEaXZlcnMuQXBwbGUuQURDIjtpOjQ7czoxMzoiRGl2ZXJzLkJhbnF1ZSI7aTowO3M6Mjc6I kRpdmVycy5NYWlzb24gZXQgaW1wJkFQUS10cyI7aTowO3M6MTI6IkRpdmVycy5Nb2RlbSI7aTowO3M6M TQ6IkRpdmVycy5TZUxvZ2VyIjtpOjM5MzI7czoxMDoiRGl2ZXJzLlVHQyI7aTowO3M6MTU6IkRpdmVyc y5XZWJBZG1pbiI7aTowO3M6NzoiRmFtaWxsZSI7aTowO3M6MTM6IkZhbWlsbGUuTWFtYW4iO2k6MDtzO jIxOiJGYW1pbGxlLlN0JkFPay1waGFuaWUiO2k6MDtzOjM6IkhhbSI7aTowO3M6NToiTm90ZXMiO2k6M DtzOjIxOiJSJkFPay1zZWF1eCBldCBmb3J1bXMiO2k6MDtzOjI4OiJSJkFPay1zZWF1eCBldCBmb3J1b XMuQUpCTVAzIjtpOjA7czozNToiUiZBT2stc2VhdXggZXQgZm9ydW1zLkFzc28gUyZBT28tZGoiO2k6M DtzOjI3OiJSJkFPay1zZWF1eCBldCBmb3J1bXMuQmFkb28iO2k6MDtzOjMwOiJSJkFPay1zZWF1eCBld CBmb3J1bXMuRmFjZWJvb2siO2k6MDtzOjI2OiJSJkFPay1zZWF1eCBldCBmb3J1bXMuTWFjRyI7aTowO 3M6MzA6IlImQU9rLXNlYXV4IGV0IGZvcnVtcy5OYWJhenRhZyI7aTowO3M6Mjc6IlImQU9rLXNlYXV4I GV0IGZvcnVtcy5Pcmt1dCI7aTowO3M6MzQ6IlImQU9rLXNlYXV4IGV0IGZvcnVtcy5TYW1iYWNhZGVta WEiO2k6MDtzOjI5OiJSJkFPay1zZWF1eCBldCBmb3J1bXMuVHdpdHRlciI7aTowO3M6MTM6IlNlbnQgT WVzc2FnZXMiO2k6MDtzOjQ6IlNwYW0iO2k6ODY7fQ==', '4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03q 818stkrs5f8g7bdb7tkjee8t0')

    2012-08-22 17:15:59 CEST DETAIL:  prepare: UPDATE session SET vars=$1, changed='2012-08-22 17:15:59' WHERE sess_id=$2

    2012-08-22 17:15:59 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_3f1ec399c1f302ba20307b1032263cd50675a57db

    2012-08-22 17:15:59 CEST LOG:  disconnection: session time: 0:00:00.274 user=roundcube database=roundcubemail host=127.0.0.1 port=53737

    2012-08-22 17:15:59 CEST DEBUG:  server process (PID 19569) exited with exit code 0

    2012-08-22 17:16:00 CEST DEBUG:  parse mdb2_statement_pgsql_3aa00472606763578ac348bbe9e7193b28df3c96d: UPDATE session SET vars=$1, changed='2012-08-22 17:16:00' WHERE sess_id=$2

    2012-08-22 17:16:00 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_3aa00472606763578ac348bbe9e7193b28df3c96d ('bGFuZ3VhZ2V8czo1OiJmcl9GUiI7c2tpbnxzOjU6ImxhcnJ5IjtpbWFwX25hbWVzcGFjZXxhOjQ6e 3M6ODoicGVyc29uYWwiO2E6MTp7aTowO2E6Mjp7aTowO3M6MDoiIjtpOjE7czoxOiIuIjt9fXM6NToib 3RoZXIiO047czo2OiJzaGFyZWQiO047czo2OiJwcmVmaXgiO3M6MDoiIjt9aW1hcF9kZWxpbWl0ZXJ8c zoxOiIuIjt1c2VyX2lkfHM6MToiMyI7dXNlcm5hbWV8czo3OiJsYXVyZW50IjtzdG9yYWdlX2hvc3R8c zoyMDoibWFpbC5kYXJrLW9yYW5nZS5jb20iO3N0b3JhZ2VfcG9ydHxpOjk5MztzdG9yYWdlX3NzbHxzO jM6InNzbCI7cGFzc3dvcmR8czozMjoiZ2NuUnZodmtHT3RwRk9JNUV4SHBhYVN3NjNUUDE0V1YiO2xvZ 2luX3RpbWV8aToxMzQ1NjQ4NTU3O3RpbWV6b25lfGQ6MTtkc3RfYWN0aXZlfGk6MTt0YXNrfHM6NDoib WFpbCI7aW1hcF9ob3N0fHM6MjA6Im1haWwuZGFyay1vcmFuZ2UuY29tIjttYm94fHM6NToiSU5CT1giO 3NvcnRfY29sfHM6NDoiZGF0ZSI7c29ydF9vcmRlcnxzOjQ6IkRFU0MiO1NUT1JBR0VfUVVPVEF8YjoxO 1NUT1JBR0VfVEhSRUFEfGE6Mjp7aTowO3M6MTA6IlJFRkVSRU5DRVMiO2k6MTtzOjQ6IlJFRlMiO31TV E9SQUdFX0xJU1QtRVhURU5ERUR8YjoxO3F1b3RhX2Rpc3BsYXl8czo0OiJ0ZXh0IjtsaXN0X2F0dHJpY nxhOjU6e3M6NDoibmFtZSI7czo4OiJtZXNzYWdlcyI7czoyOiJpZCI7czoxMToibWVzc2FnZWxpc3QiO 3M6NToiY2xhc3MiO3M6MjQ6InJlY29yZHMtdGFibGUgc29ydGhlYWRlciI7czoxNToib3B0aW9uc21lb nVpY29uIjtzOjQ6InRydWUiO3M6NzoiY29sdW1ucyI7YTo4OntpOjA7czo3OiJ0aHJlYWRzIjtpOjE7c zo3OiJzdWJqZWN0IjtpOjI7czo2OiJzdGF0dXMiO2k6MztzOjQ6ImZyb20iO2k6NDtzOjQ6ImRhdGUiO 2k6NTtzOjQ6InNpemUiO2k6NjtzOjQ6ImZsYWciO2k6NztzOjEwOiJhdHRhY2htZW50Ijt9fXNraW5fc GF0aHxzOjExOiJza2lucy9sYXJyeSI7Zm9sZGVyc3xhOjE6e3M6NToiSU5CT1giO2E6Mjp7czozOiJjb nQiO2k6NTgxNTtzOjY6Im1heHVpZCI7aTo2MTcxO319U1RPUkFHRV9TT1JUfGI6MTt1bnNlZW5fY291b nR8YToxOntzOjU6IklOQk9YIjtpOjA7fQ==', '4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03q 818stkrs5f8g7bdb7tkjee8t0')

    2012-08-22 17:16:00 CEST DETAIL:  prepare: UPDATE session SET vars=$1, changed='2012-08-22 17:16:00' WHERE sess_id=$2

    2012-08-22 17:16:00 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_3aa00472606763578ac348bbe9e7193b28df3c96d

    2012-08-22 17:16:00 CEST LOG:  disconnection: session time: 0:00:00.405 user=roundcube database=roundcubemail host=127.0.0.1 port=53738

    2012-08-22 17:16:00 CEST DEBUG:  server process (PID 19570) exited with exit code 0

    2012-08-22 17:16:03 CEST DEBUG:  autovacuum: processing database "template1"

    2012-08-22 17:16:03 CEST DEBUG:  server process (PID 19571) exited with exit code 0

    2012-08-22 17:16:11 CEST DEBUG:  autovacuum: processing database "roundcubemail"

    2012-08-22 17:16:11 CEST DEBUG:  server process (PID 19572) exited with exit code 0

    2012-08-22 17:16:20 CEST DEBUG:  autovacuum: processing database "webauth"

    2012-08-22 17:16:20 CEST DEBUG:  server process (PID 19573) exited with exit code 0

    2012-08-22 17:16:28 CEST DEBUG:  autovacuum: processing database "collab"

    2012-08-22 17:16:28 CEST DEBUG:  server process (PID 19574) exited with exit code 0

    2012-08-22 17:16:37 CEST DEBUG:  autovacuum: processing database "device_management"

    2012-08-22 17:16:37 CEST DEBUG:  server process (PID 19575) exited with exit code 0

    2012-08-22 17:16:46 CEST DEBUG:  autovacuum: processing database "caldav"

    2012-08-22 17:16:46 CEST DEBUG:  server process (PID 19577) exited with exit code 0

    2012-08-22 17:16:54 CEST DEBUG:  autovacuum: processing database "postgres"

    2012-08-22 17:16:54 CEST DEBUG:  server process (PID 19578) exited with exit code 0

    2012-08-22 17:16:59 CEST DEBUG:  forked new backend, pid=19579 socket=9

    2012-08-22 17:16:59 CEST LOG:  connection received: host=127.0.0.1 port=53761

    2012-08-22 17:16:59 CEST LOG:  connection authorized: user=roundcube database=roundcubemail

    2012-08-22 17:16:59 CEST LOG:  statement: SET SESSION DATESTYLE = 'ISO'

    2012-08-22 17:16:59 CEST LOG:  statement: SET SESSION STANDARD_CONFORMING_STRINGS = OFF

    2012-08-22 17:16:59 CEST LOG:  statement: SET SESSION ESCAPE_STRING_WARNING = OFF

    2012-08-22 17:16:59 CEST LOG:  statement: set client_encoding to 'utf8'

    2012-08-22 17:16:59 CEST DEBUG:  parse mdb2_statement_pgsql_1aea63553bcee25fa940760f7e6073ffc56fadb36: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:16:59 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_1aea63553bcee25fa940760f7e6073ffc56fadb36 ('4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03 q818stkrs5f8g7bdb7tkjee8t0')

    2012-08-22 17:16:59 CEST DETAIL:  prepare: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:16:59 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_1aea63553bcee25fa940760f7e6073ffc56fadb36

    2012-08-22 17:16:59 CEST DEBUG:  parse mdb2_statement_pgsql_2198c7a02c239d2e6d9c49562c34b37911d8df18d: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:16:59 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_2198c7a02c239d2e6d9c49562c34b37911d8df18d ('3')

    2012-08-22 17:16:59 CEST DETAIL:  prepare: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:16:59 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_2198c7a02c239d2e6d9c49562c34b37911d8df18d

    2012-08-22 17:16:59 CEST LOG:  disconnection: session time: 0:00:00.174 user=roundcube database=roundcubemail host=127.0.0.1 port=53761

    2012-08-22 17:16:59 CEST DEBUG:  server process (PID 19579) exited with exit code 0

    2012-08-22 17:17:03 CEST DEBUG:  autovacuum: processing database "template1"

    2012-08-22 17:17:03 CEST DEBUG:  server process (PID 19580) exited with exit code 0

    2012-08-22 17:17:11 CEST DEBUG:  autovacuum: processing database "roundcubemail"

    2012-08-22 17:17:11 CEST DEBUG:  server process (PID 19581) exited with exit code 0

    2012-08-22 17:17:20 CEST DEBUG:  autovacuum: processing database "webauth"

    2012-08-22 17:17:20 CEST DEBUG:  server process (PID 19582) exited with exit code 0

    2012-08-22 17:17:28 CEST DEBUG:  autovacuum: processing database "collab"

    2012-08-22 17:17:28 CEST DEBUG:  server process (PID 19583) exited with exit code 0

    2012-08-22 17:17:37 CEST DEBUG:  autovacuum: processing database "device_management"

    2012-08-22 17:17:37 CEST DEBUG:  server process (PID 19584) exited with exit code 0

    2012-08-22 17:17:46 CEST DEBUG:  autovacuum: processing database "caldav"

    2012-08-22 17:17:46 CEST DEBUG:  server process (PID 19587) exited with exit code 0

    2012-08-22 17:17:54 CEST DEBUG:  autovacuum: processing database "postgres"

    2012-08-22 17:17:54 CEST DEBUG:  server process (PID 19588) exited with exit code 0

    2012-08-22 17:17:59 CEST DEBUG:  forked new backend, pid=19589 socket=9

    2012-08-22 17:17:59 CEST LOG:  connection received: host=127.0.0.1 port=53772

    2012-08-22 17:17:59 CEST LOG:  connection authorized: user=roundcube database=roundcubemail

    2012-08-22 17:17:59 CEST LOG:  statement: SET SESSION DATESTYLE = 'ISO'

    2012-08-22 17:17:59 CEST LOG:  statement: SET SESSION STANDARD_CONFORMING_STRINGS = OFF

    2012-08-22 17:17:59 CEST LOG:  statement: SET SESSION ESCAPE_STRING_WARNING = OFF

    2012-08-22 17:17:59 CEST LOG:  statement: set client_encoding to 'utf8'

    2012-08-22 17:17:59 CEST DEBUG:  parse mdb2_statement_pgsql_1986eee80e9810ee31a124ad3bb1e5297309892b9: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:17:59 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_1986eee80e9810ee31a124ad3bb1e5297309892b9 ('4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03 q818stkrs5f8g7bdb7tkjee8t0')

    2012-08-22 17:17:59 CEST DETAIL:  prepare: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:17:59 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_1986eee80e9810ee31a124ad3bb1e5297309892b9

    2012-08-22 17:17:59 CEST DEBUG:  parse mdb2_statement_pgsql_2462c90ef422fa5a5ffd2f92f94eb6b3a4a31ab75: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:17:59 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_2462c90ef422fa5a5ffd2f92f94eb6b3a4a31ab75 ('3')

    2012-08-22 17:17:59 CEST DETAIL:  prepare: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:17:59 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_2462c90ef422fa5a5ffd2f92f94eb6b3a4a31ab75

    2012-08-22 17:17:59 CEST LOG:  disconnection: session time: 0:00:00.184 user=roundcube database=roundcubemail host=127.0.0.1 port=53772

    2012-08-22 17:17:59 CEST DEBUG:  server process (PID 19589) exited with exit code 0

    2012-08-22 17:18:03 CEST DEBUG:  autovacuum: processing database "template1"

    2012-08-22 17:18:03 CEST DEBUG:  server process (PID 19590) exited with exit code 0

    2012-08-22 17:18:11 CEST DEBUG:  autovacuum: processing database "roundcubemail"

    2012-08-22 17:18:11 CEST DEBUG:  server process (PID 19591) exited with exit code 0

    2012-08-22 17:18:20 CEST DEBUG:  autovacuum: processing database "webauth"

    2012-08-22 17:18:20 CEST DEBUG:  server process (PID 19594) exited with exit code 0

    2012-08-22 17:18:28 CEST DEBUG:  autovacuum: processing database "collab"

    2012-08-22 17:18:28 CEST DEBUG:  server process (PID 19595) exited with exit code 0

    2012-08-22 17:18:37 CEST DEBUG:  autovacuum: processing database "device_management"

    2012-08-22 17:18:37 CEST DEBUG:  server process (PID 19596) exited with exit code 0

    2012-08-22 17:18:46 CEST DEBUG:  autovacuum: processing database "caldav"

    2012-08-22 17:18:46 CEST DEBUG:  server process (PID 19597) exited with exit code 0

    2012-08-22 17:18:54 CEST DEBUG:  autovacuum: processing database "postgres"

    2012-08-22 17:18:54 CEST DEBUG:  server process (PID 19600) exited with exit code 0

    2012-08-22 17:18:59 CEST DEBUG:  forked new backend, pid=19601 socket=9

    2012-08-22 17:18:59 CEST LOG:  connection received: host=127.0.0.1 port=53783

    2012-08-22 17:18:59 CEST LOG:  connection authorized: user=roundcube database=roundcubemail

    2012-08-22 17:18:59 CEST LOG:  statement: SET SESSION DATESTYLE = 'ISO'

    2012-08-22 17:18:59 CEST LOG:  statement: SET SESSION STANDARD_CONFORMING_STRINGS = OFF

    2012-08-22 17:18:59 CEST LOG:  statement: SET SESSION ESCAPE_STRING_WARNING = OFF

    2012-08-22 17:18:59 CEST LOG:  statement: set client_encoding to 'utf8'

    2012-08-22 17:18:59 CEST DEBUG:  parse mdb2_statement_pgsql_15091d14dfe4f5c4bdb11827fd4b541b525181b08: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:18:59 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_15091d14dfe4f5c4bdb11827fd4b541b525181b08 ('4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03 q818stkrs5f8g7bdb7tkjee8t0')

    2012-08-22 17:18:59 CEST DETAIL:  prepare: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:18:59 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_15091d14dfe4f5c4bdb11827fd4b541b525181b08

    2012-08-22 17:18:59 CEST DEBUG:  parse mdb2_statement_pgsql_225ea2bd6be25302ea37275ef1b45342f5d3e8aa4: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:18:59 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_225ea2bd6be25302ea37275ef1b45342f5d3e8aa4 ('3')

    2012-08-22 17:18:59 CEST DETAIL:  prepare: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:18:59 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_225ea2bd6be25302ea37275ef1b45342f5d3e8aa4

    2012-08-22 17:18:59 CEST LOG:  disconnection: session time: 0:00:00.173 user=roundcube database=roundcubemail host=127.0.0.1 port=53783

    2012-08-22 17:18:59 CEST DEBUG:  server process (PID 19601) exited with exit code 0

    2012-08-22 17:19:03 CEST DEBUG:  autovacuum: processing database "template1"

    2012-08-22 17:19:03 CEST DEBUG:  server process (PID 19602) exited with exit code 0

    2012-08-22 17:19:04 CEST DEBUG:  attempting to remove WAL segments older than log file 000000010000000000000001

    2012-08-22 17:19:11 CEST DEBUG:  autovacuum: processing database "roundcubemail"

    2012-08-22 17:19:11 CEST DEBUG:  server process (PID 19603) exited with exit code 0

    2012-08-22 17:19:20 CEST DEBUG:  autovacuum: processing database "webauth"

    2012-08-22 17:19:20 CEST DEBUG:  server process (PID 19604) exited with exit code 0

    2012-08-22 17:19:28 CEST DEBUG:  autovacuum: processing database "collab"

    2012-08-22 17:19:28 CEST DEBUG:  server process (PID 19605) exited with exit code 0

    2012-08-22 17:19:37 CEST DEBUG:  autovacuum: processing database "device_management"

    2012-08-22 17:19:37 CEST DEBUG:  server process (PID 19606) exited with exit code 0

    2012-08-22 17:19:46 CEST DEBUG:  autovacuum: processing database "caldav"

    2012-08-22 17:19:46 CEST DEBUG:  server process (PID 19607) exited with exit code 0

    2012-08-22 17:19:54 CEST DEBUG:  forked new backend, pid=19617 socket=9

    2012-08-22 17:19:54 CEST LOG:  connection received: host=127.0.0.1 port=53792

    2012-08-22 17:19:54 CEST LOG:  connection authorized: user=roundcube database=roundcubemail

    2012-08-22 17:19:54 CEST LOG:  statement: SET SESSION DATESTYLE = 'ISO'

    2012-08-22 17:19:54 CEST LOG:  statement: SET SESSION STANDARD_CONFORMING_STRINGS = OFF

    2012-08-22 17:19:54 CEST LOG:  statement: SET SESSION ESCAPE_STRING_WARNING = OFF

    2012-08-22 17:19:54 CEST LOG:  statement: set client_encoding to 'utf8'

    2012-08-22 17:19:54 CEST DEBUG:  parse mdb2_statement_pgsql_106b7d87a650cf1454b0b4a698c1eb7da36f3b913: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:19:54 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_106b7d87a650cf1454b0b4a698c1eb7da36f3b913 ('4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03 q818stkrs5f8g7bdb7tkjee8t0')

    2012-08-22 17:19:54 CEST DETAIL:  prepare: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:19:54 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_106b7d87a650cf1454b0b4a698c1eb7da36f3b913

    2012-08-22 17:19:54 CEST DEBUG:  parse mdb2_statement_pgsql_26d84be87c4ae4d8661b57a95c0ab6590628d95a9: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:19:54 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_26d84be87c4ae4d8661b57a95c0ab6590628d95a9 ('3')

    2012-08-22 17:19:54 CEST DETAIL:  prepare: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:19:54 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_26d84be87c4ae4d8661b57a95c0ab6590628d95a9

    2012-08-22 17:19:54 CEST DEBUG:  autovacuum: processing database "postgres"

    2012-08-22 17:19:54 CEST DEBUG:  parse mdb2_statement_pgsql_362242bd2ef737530ad6c8712088b0e8608a5b43f: UPDATE session SET vars=$1, changed='2012-08-22 17:19:54' WHERE sess_id=$2

    2012-08-22 17:19:54 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_362242bd2ef737530ad6c8712088b0e8608a5b43f ('bGFuZ3VhZ2V8czo1OiJmcl9GUiI7c2tpbnxzOjU6ImxhcnJ5IjtpbWFwX25hbWVzcGFjZXxhOjQ6e 3M6ODoicGVyc29uYWwiO2E6MTp7aTowO2E6Mjp7aTowO3M6MDoiIjtpOjE7czoxOiIuIjt9fXM6NToib 3RoZXIiO047czo2OiJzaGFyZWQiO047czo2OiJwcmVmaXgiO3M6MDoiIjt9aW1hcF9kZWxpbWl0ZXJ8c zoxOiIuIjt1c2VyX2lkfHM6MToiMyI7dXNlcm5hbWV8czo3OiJsYXVyZW50IjtzdG9yYWdlX2hvc3R8c zoyMDoibWFpbC5kYXJrLW9yYW5nZS5jb20iO3N0b3JhZ2VfcG9ydHxpOjk5MztzdG9yYWdlX3NzbHxzO jM6InNzbCI7cGFzc3dvcmR8czozMjoiZ2NuUnZodmtHT3RwRk9JNUV4SHBhYVN3NjNUUDE0V1YiO2xvZ 2luX3RpbWV8aToxMzQ1NjQ4NTU3O3RpbWV6b25lfGQ6MTtkc3RfYWN0aXZlfGk6MTt0YXNrfHM6NDoib WFpbCI7aW1hcF9ob3N0fHM6MjA6Im1haWwuZGFyay1vcmFuZ2UuY29tIjttYm94fHM6NDoiSnVuayI7c 29ydF9jb2x8czo0OiJkYXRlIjtzb3J0X29yZGVyfHM6NDoiREVTQyI7U1RPUkFHRV9RVU9UQXxiOjE7U 1RPUkFHRV9USFJFQUR8YToyOntpOjA7czoxMDoiUkVGRVJFTkNFUyI7aToxO3M6NDoiUkVGUyI7fVNUT 1JBR0VfTElTVC1FWFRFTkRFRHxiOjE7cXVvdGFfZGlzcGxheXxzOjQ6InRleHQiO2xpc3RfYXR0cmlif GE6NTp7czo0OiJuYW1lIjtzOjg6Im1lc3NhZ2VzIjtzOjI6ImlkIjtzOjExOiJtZXNzYWdlbGlzdCI7c zo1OiJjbGFzcyI7czoyNDoicmVjb3Jkcy10YWJsZSBzb3J0aGVhZGVyIjtzOjE1OiJvcHRpb25zbWVud Wljb24iO3M6NDoidHJ1ZSI7czo3OiJjb2x1bW5zIjthOjg6e2k6MDtzOjc6InRocmVhZHMiO2k6MTtzO jc6InN1YmplY3QiO2k6MjtzOjY6InN0YXR1cyI7aTozO3M6NDoiZnJvbSI7aTo0O3M6NDoiZGF0ZSI7a To1O3M6NDoic2l6ZSI7aTo2O3M6NDoiZmxhZyI7aTo3O3M6MTA6ImF0dGFjaG1lbnQiO319c2tpbl9wY XRofHM6MTE6InNraW5zL2xhcnJ5Ijtmb2xkZXJzfGE6Mjp7czo1OiJJTkJPWCI7YToyOntzOjM6ImNud CI7aTo1ODE1O3M6NjoibWF4dWlkIjtpOjYxNzE7fXM6NDoiSnVuayI7YToyOntzOjM6ImNudCI7aTowO 3M6NjoibWF4dWlkIjtpOjA7fX1TVE9SQUdFX1NPUlR8YjoxO3Vuc2Vlbl9jb3VudHxhOjI6e3M6NToiS U5CT1giO2k6MDtzOjQ6Ikp1bmsiO2k6MDt9cGFnZXxpOjE7', '4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03q 818stkrs5f8g7bdb7tkjee8t0')

    2012-08-22 17:19:54 CEST DETAIL:  prepare: UPDATE session SET vars=$1, changed='2012-08-22 17:19:54' WHERE sess_id=$2

    2012-08-22 17:19:54 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_362242bd2ef737530ad6c8712088b0e8608a5b43f

    2012-08-22 17:19:54 CEST LOG:  disconnection: session time: 0:00:00.175 user=roundcube database=roundcubemail host=127.0.0.1 port=53792

    2012-08-22 17:19:54 CEST DEBUG:  server process (PID 19617) exited with exit code 0

    2012-08-22 17:19:54 CEST DEBUG:  server process (PID 19618) exited with exit code 0

    2012-08-22 17:19:56 CEST DEBUG:  forked new backend, pid=19619 socket=9

    2012-08-22 17:19:56 CEST LOG:  connection received: host=127.0.0.1 port=53794

    2012-08-22 17:19:56 CEST LOG:  connection authorized: user=roundcube database=roundcubemail

    2012-08-22 17:19:56 CEST LOG:  statement: SET SESSION DATESTYLE = 'ISO'

    2012-08-22 17:19:56 CEST LOG:  statement: SET SESSION STANDARD_CONFORMING_STRINGS = OFF

    2012-08-22 17:19:56 CEST LOG:  statement: SET SESSION ESCAPE_STRING_WARNING = OFF

    2012-08-22 17:19:56 CEST LOG:  statement: set client_encoding to 'utf8'

    2012-08-22 17:19:56 CEST DEBUG:  parse mdb2_statement_pgsql_1d62948e959076058448ed4e57f35dc44d2a8909d: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:19:56 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_1d62948e959076058448ed4e57f35dc44d2a8909d ('4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03 q818stkrs5f8g7bdb7tkjee8t0')

    2012-08-22 17:19:56 CEST DETAIL:  prepare: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:19:56 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_1d62948e959076058448ed4e57f35dc44d2a8909d

    2012-08-22 17:19:56 CEST DEBUG:  parse mdb2_statement_pgsql_2ddad73372da70bc9f9f21b4c8ef8cded748416cc: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:19:56 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_2ddad73372da70bc9f9f21b4c8ef8cded748416cc ('3')

    2012-08-22 17:19:56 CEST DETAIL:  prepare: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:19:56 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_2ddad73372da70bc9f9f21b4c8ef8cded748416cc

    2012-08-22 17:19:56 CEST DEBUG:  parse mdb2_statement_pgsql_34f0d052e31498c4363bd3e3b1d7537f667cca0ba: UPDATE session SET vars=$1, changed='2012-08-22 17:19:56' WHERE sess_id=$2

    2012-08-22 17:19:56 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_34f0d052e31498c4363bd3e3b1d7537f667cca0ba ('bGFuZ3VhZ2V8czo1OiJmcl9GUiI7c2tpbnxzOjU6ImxhcnJ5IjtpbWFwX25hbWVzcGFjZXxhOjQ6e 3M6ODoicGVyc29uYWwiO2E6MTp7aTowO2E6Mjp7aTowO3M6MDoiIjtpOjE7czoxOiIuIjt9fXM6NToib 3RoZXIiO047czo2OiJzaGFyZWQiO047czo2OiJwcmVmaXgiO3M6MDoiIjt9aW1hcF9kZWxpbWl0ZXJ8c zoxOiIuIjt1c2VyX2lkfHM6MToiMyI7dXNlcm5hbWV8czo3OiJsYXVyZW50IjtzdG9yYWdlX2hvc3R8c zoyMDoibWFpbC5kYXJrLW9yYW5nZS5jb20iO3N0b3JhZ2VfcG9ydHxpOjk5MztzdG9yYWdlX3NzbHxzO jM6InNzbCI7cGFzc3dvcmR8czozMjoiZ2NuUnZodmtHT3RwRk9JNUV4SHBhYVN3NjNUUDE0V1YiO2xvZ 2luX3RpbWV8aToxMzQ1NjQ4NTU3O3RpbWV6b25lfGQ6MTtkc3RfYWN0aXZlfGk6MTt0YXNrfHM6NDoib WFpbCI7aW1hcF9ob3N0fHM6MjA6Im1haWwuZGFyay1vcmFuZ2UuY29tIjttYm94fHM6NToiSU5CT1giO 3NvcnRfY29sfHM6NDoiZGF0ZSI7c29ydF9vcmRlcnxzOjQ6IkRFU0MiO1NUT1JBR0VfUVVPVEF8YjoxO 1NUT1JBR0VfVEhSRUFEfGE6Mjp7aTowO3M6MTA6IlJFRkVSRU5DRVMiO2k6MTtzOjQ6IlJFRlMiO31TV E9SQUdFX0xJU1QtRVhURU5ERUR8YjoxO3F1b3RhX2Rpc3BsYXl8czo0OiJ0ZXh0IjtsaXN0X2F0dHJpY nxhOjU6e3M6NDoibmFtZSI7czo4OiJtZXNzYWdlcyI7czoyOiJpZCI7czoxMToibWVzc2FnZWxpc3QiO 3M6NToiY2xhc3MiO3M6MjQ6InJlY29yZHMtdGFibGUgc29ydGhlYWRlciI7czoxNToib3B0aW9uc21lb nVpY29uIjtzOjQ6InRydWUiO3M6NzoiY29sdW1ucyI7YTo4OntpOjA7czo3OiJ0aHJlYWRzIjtpOjE7c zo3OiJzdWJqZWN0IjtpOjI7czo2OiJzdGF0dXMiO2k6MztzOjQ6ImZyb20iO2k6NDtzOjQ6ImRhdGUiO 2k6NTtzOjQ6InNpemUiO2k6NjtzOjQ6ImZsYWciO2k6NztzOjEwOiJhdHRhY2htZW50Ijt9fXNraW5fc GF0aHxzOjExOiJza2lucy9sYXJyeSI7Zm9sZGVyc3xhOjI6e3M6NToiSU5CT1giO2E6Mjp7czozOiJjb nQiO2k6NTgxNTtzOjY6Im1heHVpZCI7aTo2MTcxO31zOjQ6Ikp1bmsiO2E6Mjp7czozOiJjbnQiO2k6M DtzOjY6Im1heHVpZCI7aTowO319U1RPUkFHRV9TT1JUfGI6MTt1bnNlZW5fY291bnR8YToyOntzOjU6I klOQk9YIjtpOjA7czo0OiJKdW5rIjtpOjA7fXBhZ2V8aToxOw==', '4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03q 818stkrs5f8g7bdb7tkjee8t0')

    2012-08-22 17:19:56 CEST DETAIL:  prepare: UPDATE session SET vars=$1, changed='2012-08-22 17:19:56' WHERE sess_id=$2

    2012-08-22 17:19:56 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_34f0d052e31498c4363bd3e3b1d7537f667cca0ba

    2012-08-22 17:19:56 CEST LOG:  disconnection: session time: 0:00:00.256 user=roundcube database=roundcubemail host=127.0.0.1 port=53794

    2012-08-22 17:19:56 CEST DEBUG:  server process (PID 19619) exited with exit code 0

    2012-08-22 17:19:59 CEST DEBUG:  forked new backend, pid=19620 socket=9

    2012-08-22 17:19:59 CEST LOG:  connection received: host=127.0.0.1 port=53797

    2012-08-22 17:19:59 CEST LOG:  connection authorized: user=roundcube database=roundcubemail

    2012-08-22 17:19:59 CEST LOG:  statement: SET SESSION DATESTYLE = 'ISO'

    2012-08-22 17:19:59 CEST LOG:  statement: SET SESSION STANDARD_CONFORMING_STRINGS = OFF

    2012-08-22 17:19:59 CEST LOG:  statement: SET SESSION ESCAPE_STRING_WARNING = OFF

    2012-08-22 17:19:59 CEST LOG:  statement: set client_encoding to 'utf8'

    2012-08-22 17:19:59 CEST DEBUG:  parse mdb2_statement_pgsql_1b003f238b937e4e92f4c29e43826d922449e029c: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:19:59 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_1b003f238b937e4e92f4c29e43826d922449e029c ('4v9589if8up6j5idugi97fq1jvjo3fo39bmgnmfeliin4n5m2cjmkvl5pv9c9vfje79g0ooqvhq03 q818stkrs5f8g7bdb7tkjee8t0')

    2012-08-22 17:19:59 CEST DETAIL:  prepare: SELECT vars, ip, changed FROM session WHERE sess_id = $1

    2012-08-22 17:19:59 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_1b003f238b937e4e92f4c29e43826d922449e029c

    2012-08-22 17:19:59 CEST DEBUG:  parse mdb2_statement_pgsql_2f5ff95842d773375958a481a433ddcad297a962b: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:19:59 CEST LOG:  statement: EXECUTE mdb2_statement_pgsql_2f5ff95842d773375958a481a433ddcad297a962b ('3')

    2012-08-22 17:19:59 CEST DETAIL:  prepare: SELECT * FROM users WHERE user_id = $1

    2012-08-22 17:19:59 CEST LOG:  statement: DEALLOCATE PREPARE mdb2_statement_pgsql_2f5ff95842d773375958a481a433ddcad297a962b

    2012-08-22 17:19:59 CEST LOG:  disconnection: session time: 0:00:00.175 user=roundcube database=roundcubemail host=127.0.0.1 port=53797

    2012-08-22 17:19:59 CEST DEBUG:  server process (PID 19620) exited with exit code 0

    2012-08-22 17:20:03 CEST DEBUG:  autovacuum: processing database "template1"

    2012-08-22 17:20:03 CEST DEBUG:  server process (PID 19622) exited with exit code 0

    2012-08-22 17:20:11 CEST DEBUG:  autovacuum: processing database "roundcubemail"

    2012-08-22 17:20:11 CEST DEBUG:  server process (PID 19625) exited with exit code 0

    2012-08-22 17:20:18 CEST DEBUG:  forked new backend, pid=19639 socket=9

    2012-08-22 17:20:18 CEST LOG:  connection received: host=[local]

    2012-08-22 17:20:18 CEST LOG:  connection authorized: user=_devicemgr database=device_management

    2012-08-22 17:20:18 CEST LOG:  statement: set client_encoding to 'UTF8'

    2012-08-22 17:20:18 CEST LOG:  statement: SHOW client_min_messages

    2012-08-22 17:20:18 CEST LOG:  statement: SET client_min_messages TO 'panic'

    2012-08-22 17:20:18 CEST LOG:  statement: SET standard_conforming_strings = on

    2012-08-22 17:20:18 CEST LOG:  statement: SET client_min_messages TO 'notice'

    2012-08-22 17:20:18 CEST LOG:  statement: SHOW search_path

    2012-08-22 17:20:18 CEST LOG:  statement:           SELECT tablename

                          FROM pg_tables

                         WHERE schemaname IN ('"$user"','public')

     

    2012-08-22 17:20:18 CEST LOG:  statement: BEGIN

    2012-08-22 17:20:18 CEST LOG:  statement: SELECT * FROM "settings"  LIMIT 1

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"settings"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement: SELECT * FROM "settings"

    2012-08-22 17:20:18 CEST LOG:  statement: UPDATE "settings" SET "knob_sets_enabled" = '--- {}

     

              ' WHERE "id" = 1

    2012-08-22 17:20:18 CEST LOG:  statement: COMMIT

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"device_groups"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"devices"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"members_profiles"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"user_groups"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"users"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"ad_cert_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"apn_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"cal_dav_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"cal_sub_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"card_dav_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"certificate_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"cfprefs_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"directory_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"dock_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"email_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"energy_saver_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"exchange_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"general_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"ichat_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"identification_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"interface_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"knob_sets_profiles"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"ldap_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"login_item_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"login_window_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"mac_restrictions_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"mcx_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"mobility_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"parental_controls_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"passcode_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"printing_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"privacy_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"restrictions_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"scep_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"software_update_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"vpn_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"web_clip_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:18 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"wifi_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:19 CEST LOG:  statement: BEGIN ISOLATION LEVEL SERIALIZABLE

    2012-08-22 17:20:19 CEST LOG:  statement: SELECT * FROM "settings"  LIMIT 1

    2012-08-22 17:20:19 CEST LOG:  statement: SELECT * FROM "settings"

    2012-08-22 17:20:19 CEST LOG:  statement: UPDATE "settings" SET "knob_sets_enabled" = '--- {}

     

              ' WHERE "id" = 1

    2012-08-22 17:20:19 CEST LOG:  statement: SELECT * FROM "profiles" WHERE ("profiles"."is_from_servermgr" = 't' AND "profiles"."deleted" = 'f')  LIMIT 1

    2012-08-22 17:20:19 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"profiles"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:19 CEST LOG:  statement: SHOW max_identifier_length

    2012-08-22 17:20:19 CEST LOG:  statement: SELECT count(*) AS count_all FROM knob_sets_profiles  JOIN profiles polymorphic_parent ON knob_sets_profiles.profile_id = polymorphic_parent.id LEFT JOIN ad_cert_knob_sets ON knob_sets_profiles.knob_set_id = ad_cert_knob_sets.id AND knob_sets_profiles.knob_set_type = 'AdCertKnobSet' LEFT JOIN apn_knob_sets ON knob_sets_profiles.knob_set_id = apn_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ApnKnobSet' LEFT JOIN cal_dav_knob_sets ON knob_sets_profiles.knob_set_id = cal_dav_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CalDavKnobSet' LEFT JOIN cal_sub_knob_sets ON knob_sets_profiles.knob_set_id = cal_sub_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CalSubKnobSet' LEFT JOIN card_dav_knob_sets ON knob_sets_profiles.knob_set_id = card_dav_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CardDavKnobSet' LEFT JOIN certificate_knob_sets ON knob_sets_profiles.knob_set_id = certificate_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CertificateKnobSet' LEFT JOIN cfprefs_knob_sets ON knob_sets_profiles.knob_set_id = cfprefs_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CfprefsKnobSet' LEFT JOIN directory_knob_sets ON knob_sets_profiles.knob_set_id = directory_knob_sets.id AND knob_sets_profiles.knob_set_type = 'DirectoryKnobSet' LEFT JOIN dock_knob_sets ON knob_sets_profiles.knob_set_id = dock_knob_sets.id AND knob_sets_profiles.knob_set_type = 'DockKnobSet' LEFT JOIN email_knob_sets ON knob_sets_profiles.knob_set_id = email_knob_sets.id AND knob_sets_profiles.knob_set_type = 'EmailKnobSet' LEFT JOIN energy_saver_knob_sets ON knob_sets_profiles.knob_set_id = energy_saver_knob_sets.id AND knob_sets_profiles.knob_set_type = 'EnergySaverKnobSet' LEFT JOIN exchange_knob_sets ON knob_sets_profiles.knob_set_id = exchange_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ExchangeKnobSet' LEFT JOIN general_knob_sets ON knob_sets_profiles.knob_set_id = general_knob_sets.id AND knob_sets_profiles.knob_set_type = 'GeneralKnobSet' LEFT JOIN ichat_knob_sets ON knob_sets_profiles.knob_set_id = ichat_knob_sets.id AND knob_sets_profiles.knob_set_type = 'IchatKnobSet' LEFT JOIN ldap_knob_sets ON knob_sets_profiles.knob_set_id = ldap_knob_sets.id AND knob_sets_profiles.knob_set_type = 'LdapKnobSet' LEFT JOIN login_item_knob_sets ON knob_sets_profiles.knob_set_id = login_item_knob_sets.id AND knob_sets_profiles.knob_set_type = 'LoginItemKnobSet' LEFT JOIN login_window_knob_sets ON knob_sets_profiles.knob_set_id = login_window_knob_sets.id AND knob_sets_profiles.knob_set_type = 'LoginWindowKnobSet' LEFT JOIN mac_restrictions_knob_sets ON knob_sets_profiles.knob_set_id = mac_restrictions_knob_sets.id AND knob_sets_profiles.knob_set_type = 'MacRestrictionsKnobSet' LEFT JOIN mcx_knob_sets ON knob_sets_profiles.knob_set_id = mcx_knob_sets.id AND knob_sets_profiles.knob_set_type = 'McxKnobSet' LEFT JOIN mobility_knob_sets ON knob_sets_profiles.knob_set_id = mobility_knob_sets.id AND knob_sets_profiles.knob_set_type = 'MobilityKnobSet' LEFT JOIN interface_knob_sets ON knob_sets_profiles.knob_set_id = interface_knob_sets.id AND knob_sets_profiles.knob_set_type = 'InterfaceKnobSet' LEFT JOIN parental_controls_knob_sets ON knob_sets_profiles.knob_set_id = parental_controls_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ParentalControlsKnobSet' LEFT JOIN passcode_knob_sets ON knob_sets_profiles.knob_set_id = passcode_knob_sets.id AND knob_sets_profiles.knob_set_type = 'PasscodeKnobSet' LEFT JOIN printing_knob_sets ON knob_sets_profiles.knob_set_id = printing_knob_sets.id AND knob_sets_profiles.knob_set_type = 'PrintingKnobSet' LEFT JOIN privacy_knob_sets ON knob_sets_profiles.knob_set_id = privacy_knob_sets.id AND knob_sets_profiles.knob_set_type = 'PrivacyKnobSet' LEFT JOIN restrictions_knob_sets ON knob_sets_profiles.knob_set_id = restrictions_knob_sets.id AND knob_sets_profiles.knob_set_type = 'RestrictionsKnobSet' LEFT JOIN scep_knob_sets ON knob_sets_profiles.knob_set_id = scep_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ScepKnobSet' LEFT JOIN software_update_knob_sets ON knob_sets_profiles.knob_set_id = software_update_knob_sets.id AND knob_sets_profiles.knob_set_type = 'SoftwareUpdateKnobSet' LEFT JOIN vpn_knob_sets ON knob_sets_profiles.knob_set_id = vpn_knob_sets.id AND knob_sets_profiles.knob_set_type = 'VpnKnobSet' LEFT JOIN web_clip_knob_sets ON knob_sets_profiles.knob_set_id = web_clip_knob_sets.id AND knob_sets_profiles.knob_set_type = 'WebClipKnobSet' LEFT JOIN wifi_knob_sets ON knob_sets_profiles.knob_set_id = wifi_knob_sets.id AND knob_sets_profiles.knob_set_type = 'WifiKnobSet' LEFT JOIN identification_knob_sets ON knob_sets_profiles.knob_set_id = identification_knob_sets.id AND knob_sets_profiles.knob_set_type = 'IdentificationKnobSet'  WHERE ((knob_sets_profiles.profile_id = 1))

    2012-08-22 17:20:19 CEST LOG:  statement: SELECT "users".* FROM "users"  INNER JOIN "members_profiles" ON "users".id = "members_profiles".member_id AND "members_profiles".member_type = 'User'   WHERE (("members_profiles".profile_id = 1))

    2012-08-22 17:20:19 CEST LOG:  statement: SELECT "devices".* FROM "devices"  INNER JOIN "members_profiles" ON "devices".id = "members_profiles".member_id AND "members_profiles".member_type = 'Device'   WHERE (("members_profiles".profile_id = 1))

    2012-08-22 17:20:19 CEST LOG:  statement: SELECT "user_groups".* FROM "user_groups"  INNER JOIN "members_profiles" ON "user_groups".id = "members_profiles".member_id AND "members_profiles".member_type = 'UserGroup'   WHERE (("members_profiles".profile_id = 1))

    2012-08-22 17:20:19 CEST LOG:  statement: SELECT "device_groups".* FROM "device_groups"  INNER JOIN "members_profiles" ON "device_groups".id = "members_profiles".member_id AND "members_profiles".member_type = 'DeviceGroup'   WHERE (("members_profiles".profile_id = 1))

    2012-08-22 17:20:19 CEST LOG:  statement: SELECT "general_knob_sets".* FROM "general_knob_sets"  INNER JOIN "knob_sets_profiles" ON "general_knob_sets".id = "knob_sets_profiles".knob_set_id AND "knob_sets_profiles".knob_set_type = 'GeneralKnobSet'   WHERE (("knob_sets_profiles".profile_id = 1))

    2012-08-22 17:20:19 CEST LOG:  statement: SELECT 'Profile' AS polymorphic_parent_class, 'knob_sets' AS polymorphic_association_id, "ad_cert_knob_sets"."CertServer" AS t0_r12, "ad_cert_knob_sets"."CertTemplate" AS t0_r13, "ad_cert_knob_sets"."CertificateAcquisitionMechanism" AS t0_r16, "ad_cert_knob_sets"."CertificateAuthority" AS t0_r15, "ad_cert_knob_sets"."Description" AS t0_r14, "ad_cert_knob_sets"."Password" AS t0_r19, "ad_cert_knob_sets"."PayloadDisplayName" AS t0_r9, "ad_cert_knob_sets"."PayloadEnabled" AS t0_r10, "ad_cert_knob_sets"."PayloadUUID" AS t0_r8, "ad_cert_knob_sets"."PayloadVersion" AS t0_r7, "ad_cert_knob_sets"."PromptForCredentials" AS t0_r17, "ad_cert_knob_sets"."UserName" AS t0_r18, "ad_cert_knob_sets"."admin_session" AS t0_r2, "ad_cert_knob_sets"."created_at" AS t0_r5, "ad_cert_knob_sets"."deleted" AS t0_r4, "ad_cert_knob_sets"."id" AS t0_r0, "ad_cert_knob_sets"."is_from_servermgr" AS t0_r11, "ad_cert_knob_sets"."last_modified_guid" AS t0_r1, "ad_cert_knob_sets"."temporary_id" AS t0_r3, "ad_cert_knob_sets"."updated_at" AS t0_r6, "apn_knob_sets"."PayloadContent" AS t1_r12, "apn_knob_sets"."PayloadDisplayName" AS t1_r9, "apn_knob_sets"."PayloadEnabled" AS t1_r10, "apn_knob_sets"."PayloadUUID" AS t1_r8, "apn_knob_sets"."PayloadVersion" AS t1_r7, "apn_knob_sets"."admin_session" AS t1_r2, "apn_knob_sets"."created_at" AS t1_r5, "apn_knob_sets"."deleted" AS t1_r4, "apn_knob_sets"."id" AS t1_r0, "apn_knob_sets"."is_from_servermgr" AS t1_r11, "apn_knob_sets"."last_modified_guid" AS t1_r1, "apn_knob_sets"."temporary_id" AS t1_r3, "apn_knob_sets"."updated_at" AS t1_r6, "cal_dav_knob_sets"."CalDAVAccountDescription" AS t2_r12, "cal_dav_knob_sets"."CalDAVHostName" AS t2_r13, "cal_dav_knob_sets"."CalDAVPassword" AS t2_r15, "cal_dav_knob_sets"."CalDAVPort" AS t2_r17, "cal_dav_knob_sets"."CalDAVPrincipalURL" AS t2_r18, "cal_dav_knob_sets"."CalDAVUseSSL" AS t2_r16, "cal_dav_knob_sets"."CalDAVUsername" AS t2_r14, "cal_dav_knob_sets"."PayloadDisplayName" AS t2_r9, "cal_dav_knob_sets"."PayloadEnabled" AS t2_r10, "cal_dav_knob_sets"."PayloadUUID" AS t2_r8, "cal_dav_knob_sets"."PayloadVersion" AS t2_r7, "cal_dav_knob_sets"."admin_session" AS t2_r2, "cal_dav_knob_sets"."created_at" AS t2_r5, "cal_dav_knob_sets"."deleted" AS t2_r4, "cal_dav_knob_sets"."id" AS t2_r0, "cal_dav_knob_sets"."is_from_servermgr" AS t2_r11, "cal_dav_knob_sets"."last_modified_guid" AS t2_r1, "cal_dav_knob_sets"."temporary_id" AS t2_r3, "cal_dav_knob_sets"."updated_at" AS t2_r6, "cal_sub_knob_sets"."PayloadDisplayName" AS t3_r9, "cal_sub_knob_sets"."PayloadEnabled" AS t3_r10, "cal_sub_knob_sets"."PayloadUUID" AS t3_r8, "cal_sub_knob_sets"."PayloadVersion" AS t3_r7, "cal_sub_knob_sets"."SubCalAccountDescription" AS t3_r12, "cal_sub_knob_sets"."SubCalAccountHostName" AS t3_r13, "cal_sub_knob_sets"."SubCalAccountPassword" AS t3_r15, "cal_sub_knob_sets"."SubCalAccountUseSSL" AS t3_r16, "cal_sub_knob_sets"."SubCalAccountUsername" AS t3_r14, "cal_sub_knob_sets"."admin_session" AS t3_r2, "cal_sub_knob_sets"."created_at" AS t3_r5, "cal_sub_knob_sets"."deleted" AS t3_r4, "cal_sub_knob_sets"."id" AS t3_r0, "cal_sub_knob_sets"."is_from_servermgr" AS t3_r11, "cal_sub_knob_sets"."last_modified_guid" AS t3_r1, "cal_sub_knob_sets"."temporary_id" AS t3_r3, "cal_sub_knob_sets"."updated_at" AS t3_r6, "card_dav_knob_sets"."CardDAVAccountDescription" AS t4_r12, "card_dav_knob_sets"."CardDAVHostName" AS t4_r13, "card_dav_knob_sets"."CardDAVPassword" AS t4_r15, "card_dav_knob_sets"."CardDAVPort" AS t4_r17, "card_dav_knob_sets"."CardDAVPrincipalURL" AS t4_r18, "card_dav_knob_sets"."CardDAVUseSSL" AS t4_r16, "card_dav_knob_sets"."CardDAVUsername" AS t4_r14, "card_dav_knob_sets"."PayloadDisplayName" AS t4_r9, "card_dav_knob_sets"."PayloadEnabled" AS t4_r10, "card_dav_knob_sets"."PayloadUUID" AS t4_r8, "card_dav_knob_sets"."PayloadVersion" AS t4_r7, "card_dav_knob_sets"."admin_session" AS t4_r2, "card_dav_knob_sets"."created_at" AS t4_r5, "card_dav_knob_sets"."deleted" AS t4_r4, "card_dav_knob_sets"."id" AS t4_r0, "card_dav_knob_sets"."is_from_servermgr" AS t4_r11, "card_dav_knob_sets"."last_modified_guid" AS t4_r1, "card_dav_knob_sets"."temporary_id" AS t4_r3, "card_dav_knob_sets"."updated_at" AS t4_r6, "certificate_knob_sets"."Password" AS t5_r13, "certificate_knob_sets"."PayloadCertificateFileName" AS t5_r12, "certificate_knob_sets"."PayloadDisplayName" AS t5_r9, "certificate_knob_sets"."PayloadEnabled" AS t5_r10, "certificate_knob_sets"."PayloadUUID" AS t5_r8, "certificate_knob_sets"."PayloadVersion" AS t5_r7, "certificate_knob_sets"."admin_session" AS t5_r2, "certificate_knob_sets"."created_at" AS t5_r5, "certificate_knob_sets"."deleted" AS t5_r4, "certificate_knob_sets"."id" AS t5_r0, "certificate_knob_sets"."internal_use_flag_certificate_type" AS t5_r14, "certificate_knob_sets"."is_from_servermgr" AS t5_r11, "certificate_knob_sets"."last_modified_guid" AS t5_r1, "certificate_knob_sets"."temporary_id" AS t5_r3, "certificate_knob_sets"."updated_at" AS t5_r6, "cfprefs_knob_sets"."PayloadDisplayName" AS t6_r9, "cfprefs_knob_sets"."PayloadEnabled" AS t6_r10, "cfprefs_knob_sets"."PayloadUUID" AS t6_r8, "cfprefs_knob_sets"."PayloadVersion" AS t6_r7, "cfprefs_knob_sets"."admin_session" AS t6_r2, "cfprefs_knob_sets"."created_at" AS t6_r5, "cfprefs_knob_sets"."deleted" AS t6_r4, "cfprefs_knob_sets"."domain" AS t6_r12, "cfprefs_knob_sets"."id" AS t6_r0, "cfprefs_knob_sets"."is_from_servermgr" AS t6_r11, "cfprefs_knob_sets"."last_modified_guid" AS t6_r1, "cfprefs_knob_sets"."root" AS t6_r13, "cfprefs_knob_sets"."temporary_id" AS t6_r3, "cfprefs_knob_sets"."updated_at" AS t6_r6, "directory_knob_sets"."ClientID" AS t7_r16, "directory_knob_sets"."HostName" AS t7_r13, "directory_knob_sets"."Password" AS t7_r15, "directory_knob_sets"."PayloadDisplayName" AS t7_r9, "directory_knob_sets"."PayloadEnabled" AS t7_r10, "directory_knob_sets"."PayloadType" AS t7_r12, "directory_knob_sets"."PayloadUUID" AS t7_r8, "directory_knob_sets"."PayloadVersion" AS t7_r7, "directory_knob_sets"."UserName" AS t7_r14, "directory_knob_sets"."admin_session" AS t7_r2, "directory_knob_sets"."created_at" AS t7_r5, "directory_knob_sets"."deleted" AS t7_r4, "directory_knob_sets"."id" AS t7_r0, "directory_knob_sets"."is_from_servermgr" AS t7_r11, "directory_knob_sets"."last_modified_guid" AS t7_r1, "directory_knob_sets"."temporary_id" AS t7_r3, "directory_knob_sets"."updated_at" AS t7_r6, "dock_knob_sets"."MCXDockSpecialFolders" AS t8_r22, "dock_knob_sets"."PayloadDisplayName" AS t8_r9, "dock_knob_sets"."PayloadEnabled" AS t8_r10, "dock_knob_sets"."PayloadUUID" AS t8_r8, "dock_knob_sets"."PayloadVersion" AS t8_r7, "dock_knob_sets"."admin_session" AS t8_r2, "dock_knob_sets"."autohide" AS t8_r12, "dock_knob_sets"."autohide_immutable" AS t8_r13, "dock_knob_sets"."contents_immutable" AS t8_r14, "dock_knob_sets"."created_at" AS t8_r5, "dock_knob_sets"."deleted" AS t8_r4, "dock_knob_sets"."dockItems" AS t8_r15, "dock_knob_sets"."id" AS t8_r0, "dock_knob_sets"."is_from_servermgr" AS t8_r11, "dock_knob_sets"."largesize" AS t8_r16, "dock_knob_sets"."last_modified_guid" AS t8_r1, "dock_knob_sets"."launchanim" AS t8_r17, "dock_knob_sets"."launchanim_immutable" AS t8_r18, "dock_knob_sets"."magnification" AS t8_r19, "dock_knob_sets"."magnify_immutable" AS t8_r20, "dock_knob_sets"."magsize_immutable" AS t8_r21, "dock_knob_sets"."mineffect" AS t8_r27, "dock_knob_sets"."mineffect_immutable" AS t8_r28, "dock_knob_sets"."minimize_to_application" AS t8_r25, "dock_knob_sets"."minimize_to_application_immutable" AS t8_r26, "dock_knob_sets"."orientation" AS t8_r29, "dock_knob_sets"."position_immutable" AS t8_r30, "dock_knob_sets"."show_process_indicators" AS t8_r23, "dock_knob_sets"."show_process_indicators_immutable" AS t8_r24, "dock_knob_sets"."size_immutable" AS t8_r32, "dock_knob_sets"."static_only" AS t8_r33, "dock_knob_sets"."temporary_id" AS t8_r3, "dock_knob_sets"."tilesize" AS t8_r31, "dock_knob_sets"."updated_at" AS t8_r6, "email_knob_sets"."EmailAccountDescription" AS t9_r12, "email_knob_sets"."EmailAccountName" AS t9_r13, "email_knob_sets"."EmailAccountType" AS t9_r14, "email_knob_sets"."EmailAddress" AS t9_r15, "email_knob_sets"."EmailDomain" AS t9_r16, "email_knob_sets"."IncomingMailServerAuthentication" AS t9_r17, "email_knob_sets"."IncomingMailServerHostName" AS t9_r18, "email_knob_sets"."IncomingMailServerIMAPPathPrefix" AS t9_r30, "email_knob_sets"."IncomingMailServerPortNumber" AS t9_r19, "email_knob_sets"."IncomingMailServerUseSSL" AS t9_r20, "email_knob_sets"."IncomingMailServerUsername" AS t9_r21, "email_knob_sets"."IncomingPassword" AS t9_r22, "email_knob_sets"."OutgoingMailServerAuthentication" AS t9_r23, "email_knob_sets"."OutgoingMailServerHostName" AS t9_r24, "email_knob_sets"."OutgoingMailServerPortNumber" AS t9_r25, "email_knob_sets"."OutgoingMailServerUseSSL" AS t9_r26, "email_knob_sets"."OutgoingMailServerUsername" AS t9_r27, "email_knob_sets"."OutgoingPassword" AS t9_r28, "email_knob_sets"."OutgoingPasswordSameAsIncomingPassword" AS t9_r29, "email_knob_sets"."PayloadDisplayName" AS t9_r9, "email_knob_sets"."PayloadEnabled" AS t9_r10, "email_knob_sets"."PayloadUUID" AS t9_r8, "email_knob_sets"."PayloadVersion" AS t9_r7, "email_knob_sets"."PreventAppSheet" AS t9_r32, "email_knob_sets"."PreventMove" AS t9_r31, "email_knob_sets"."SMIMEEnabled" AS t9_r33, "email_knob_sets"."SMIMEEncryptionEnabled" AS t9_r34, "email_knob_sets"."SMIMESigningCertificateUUID" AS t9_r35, "email_knob_sets"."admin_session" AS t9_r2, "email_knob_sets"."created_at" AS t9_r5, "email_knob_sets"."deleted" AS t9_r4, "email_knob_sets"."id" AS t9_r0, "email_knob_sets"."is_from_servermgr" AS t9_r11, "email_knob_sets"."last_modified_guid" AS t9_r1, "email_knob_sets"."temporary_id" AS t9_r3, "email_knob_sets"."updated_at" AS t9_r6, "energy_saver_knob_sets"."PayloadDisplayName" AS t10_r9, "energy_saver_knob_sets"."PayloadEnabled" AS t10_r10, "energy_saver_knob_sets"."PayloadUUID" AS t10_r8, "energy_saver_knob_sets"."PayloadVersion" AS t10_r7, "energy_saver_knob_sets"."admin_session" AS t10_r2, "energy_saver_knob_sets"."com_apple_EnergySaver__ShowMenuBarBattery" AS t10_r18, "energy_saver_knob_sets"."com_apple_EnergySaver_desktop_ACPower" AS t10_r15, "energy_saver_knob_sets"."com_apple_EnergySaver_desktop_ACPower__ProfileNumber" AS t10_r12, "energy_saver_knob_sets"."com_apple_EnergySaver_desktop_Schedule" AS t10_r19, "energy_saver_knob_sets"."com_apple_EnergySaver_portable_ACPower" AS t10_r16, "energy_saver_knob_sets"."com_apple_EnergySaver_portable_ACPower__ProfileNumber " AS t10_r13, "energy_saver_knob_sets"."com_apple_EnergySaver_portable_BatteryPower" AS t10_r17, "energy_saver_knob_sets"."com_apple_EnergySaver_portable_BatteryPower__ProfileN umber" AS t10_r14, "energy_saver_knob_sets"."created_at" AS t10_r5, "energy_saver_knob_sets"."deleted" AS t10_r4, "energy_saver_knob_sets"."id" AS t10_r0, "energy_saver_knob_sets"."is_from_servermgr" AS t10_r11, "energy_saver_knob_sets"."last_modified_guid" AS t10_r1, "energy_saver_knob_sets"."temporary_id" AS t10_r3, "energy_saver_knob_sets"."updated_at" AS t10_r6, "exchange_knob_sets"."Certificate" AS t11_r18, "exchange_knob_sets"."CertificateName" AS t11_r19, "exchange_knob_sets"."CertificatePassword" AS t11_r20, "exchange_knob_sets"."EmailAddress" AS t11_r13, "exchange_knob_sets"."ExternalHost" AS t11_r24, "exchange_knob_sets"."ExternalPath" AS t11_r26, "exchange_knob_sets"."ExternalPort" AS t11_r27, "exchange_knob_sets"."ExternalSSL" AS t11_r25, "exchange_knob_sets"."Host" AS t11_r14, "exchange_knob_sets"."MailNumberOfPastDaysToSync" AS t11_r21, "exchange_knob_sets"."Password" AS t11_r17, "exchange_knob_sets"."Path" AS t11_r22, "exchange_knob_sets"."PayloadDisplayName" AS t11_r9, "exchange_knob_sets"."PayloadEnabled" AS t11_r10, "exchange_knob_sets"."PayloadUUID" AS t11_r8, "exchange_knob_sets"."PayloadVersion" AS t11_r7, "exchange_knob_sets"."Port" AS t11_r23, "exchange_knob_sets"."PreventAppSheet" AS t11_r29, "exchange_knob_sets"."PreventMove" AS t11_r28, "exchange_knob_sets"."SSL" AS t11_r15, "exchange_knob_sets"."UserName" AS t11_r16, "exchange_knob_sets"."admin_session" AS t11_r2, "exchange_knob_sets"."created_at" AS t11_r5, "exchange_knob_sets"."deleted" AS t11_r4, "exchange_knob_sets"."id" AS t11_r0, "exchange_knob_sets"."is_from_servermgr" AS t11_r11, "exchange_knob_sets"."last_modified_guid" AS t11_r1, "exchange_knob_sets"."payload_type" AS t11_r12, "exchange_knob_sets"."temporary_id" AS t11_r3, "exchange_knob_sets"."updated_at" AS t11_r6, "general_knob_sets"."PayloadDisplayName" AS t12_r9, "general_knob_sets"."PayloadEnabled" AS t12_r10, "general_knob_sets"."PayloadUUID" AS t12_r8, "general_knob_sets"."PayloadVersion" AS t12_r7, "general_knob_sets"."admin_session" AS t12_r2, "general_knob_sets"."created_at" AS t12_r5, "general_knob_sets"."deleted" AS t12_r4, "general_knob_sets"."description" AS t12_r13, "general_knob_sets"."id" AS t12_r0, "general_knob_sets"."is_from_servermgr" AS t12_r11, "general_knob_sets"."last_modified_guid" AS t12_r1, "general_knob_sets"."organization" AS t12_r12, "general_knob_sets"."password" AS t12_r15, "general_knob_sets"."security" AS t12_r14, "general_knob_sets"."temporary_id" AS t12_r3, "general_knob_sets"."updated_at" AS t12_r6, "ichat_knob_sets"."AIMAccountDescription" AS t13_r20, "ichat_knob_sets"."AIMAuthentication" AS t13_r26, "ichat_knob_sets"."AIMHostName" AS t13_r21, "ichat_knob_sets"."AIMPassword" AS t13_r25, "ichat_knob_sets"."AIMPort" AS t13_r22, "ichat_knob_sets"."AIMUseSSL" AS t13_r23, "ichat_knob_sets"."AIMUserName" AS t13_r24, "ichat_knob_sets"."JabberAccountDescription" AS t13_r13, "ichat_knob_sets"."JabberAuthentication" AS t13_r19, "ichat_knob_sets"."JabberHostName" AS t13_r14, "ichat_knob_sets"."JabberPassword" AS t13_r18, "ichat_knob_sets"."JabberPort" AS t13_r15, "ichat_knob_sets"."JabberUseSSL" AS t13_r16, "ichat_knob_sets"."JabberUserName" AS t13_r17, "ichat_knob_sets"."PayloadDisplayName" AS t13_r9, "ichat_knob_sets"."PayloadEnabled" AS t13_r10, "ichat_knob_sets"."PayloadType" AS t13_r12, "ichat_knob_sets"."PayloadUUID" AS t13_r8, "ichat_knob_sets"."PayloadVersion" AS t13_r7, "ichat_knob_sets"."SubNetAccountDescription" AS t13_r27, "ichat_knob_sets"."admin_session" AS t13_r2, "ichat_knob_sets"."created_at" AS t13_r5, "ichat_knob_sets"."deleted" AS t13_r4, "ichat_knob_sets"."id" AS t13_r0, "ichat_knob_sets"."is_from_servermgr" AS t13_r11, "ichat_knob_sets"."last_modified_guid" AS t13_r1, "ichat_knob_sets"."temporary_id" AS t13_r3, "ichat_knob_sets"."updated_at" AS t13_r6, "identification_knob_sets"."PayloadDisplayName" AS t14_r9, "identification_knob_sets"."PayloadEnabled" AS t14_r10, "identification_knob_sets"."PayloadIdentification" AS t14_r12, "identification_knob_sets"."PayloadUUID" AS t14_r8, "identification_knob_sets"."PayloadVersion" AS t14_r7, "identification_knob_sets"."admin_session" AS t14_r2, "identification_knob_sets"."created_at" AS t14_r5, "identification_knob_sets"."deleted" AS t14_r4, "identification_knob_sets"."id" AS t14_r0, "identification_knob_sets"."is_from_servermgr" AS t14_r11, "identification_knob_sets"."last_modified_guid" AS t14_r1, "identification_knob_sets"."temporary_id" AS t14_r3, "identification_knob_sets"."updated_at" AS t14_r6, "interface_knob_sets"."AuthenticationMethod" AS t15_r20, "interface_knob_sets"."AutoJoin" AS t15_r22, "interface_knob_sets"."DirectoryDomain" AS t15_r21, "interface_knob_sets"."EAPClientConfiguration" AS t15_r19, "interface_knob_sets"."EncryptionType" AS t15_r15, "interface_knob_sets"."HIDDEN_NETWORK" AS t15_r14, "interface_knob_sets"."Interface" AS t15_r12, "interface_knob_sets"."Password" AS t15_r16, "interface_knob_sets"."PayloadCertificateUUID" AS t15_r18, "interface_knob_sets"."PayloadDisplayName" AS t15_r9, "interface_knob_sets"."PayloadEnabled" AS t15_r10, "interface_knob_sets"."PayloadUUID" AS t15_r8, "interface_knob_sets"."PayloadVersion" AS t15_r7, "interface_knob_sets"."ProxyPACURL" AS t15_r28, "interface_knob_sets"."ProxyPassword" AS t15_r27, "interface_knob_sets"."ProxyServer" AS t15_r24, "interface_knob_sets"."ProxyServerPort" AS t15_r25, "interface_knob_sets"."ProxyType" AS t15_r23, "interface_knob_sets"."ProxyUsername" AS t15_r26, "interface_knob_sets"."SSID_STR" AS t15_r13, "interface_knob_sets"."SetupModes" AS t15_r17, "interface_knob_sets"."admin_session" AS t15_r2, "interface_knob_sets"."created_at" AS t15_r5, "interface_knob_sets"."deleted" AS t15_r4, "interface_knob_sets"."id" AS t15_r0, "interface_knob_sets"."is_from_servermgr" AS t15_r11, "interface_knob_sets"."last_modified_guid" AS t15_r1, "interface_knob_sets"."temporary_id" AS t15_r3, "interface_knob_sets"."updated_at" AS t15_r6, "knob_sets_profiles"."admin_session" AS t16_r2, "knob_sets_profiles"."created_at" AS t16_r5, "knob_sets_profiles"."deleted" AS t16_r4, "knob_sets_profiles"."id" AS t16_r0, "knob_sets_profiles"."knob_set_id" AS t16_r7, "knob_sets_profiles"."knob_set_type" AS t16_r8, "knob_sets_profiles"."last_modified_guid" AS t16_r1, "knob_sets_profiles"."profile_id" AS t16_r9, "knob_sets_profiles"."temporary_id" AS t16_r3, "knob_sets_profiles"."updated_at" AS t16_r6, "ldap_knob_sets"."LDAPAccountDescription" AS t17_r12, "ldap_knob_sets"."LDAPAccountHostName" AS t17_r13, "ldap_knob_sets"."LDAPAccountPassword" AS t17_r16, "ldap_knob_sets"."LDAPAccountUseSSL" AS t17_r14, "ldap_knob_sets"."LDAPAccountUserName" AS t17_r15, "ldap_knob_sets"."LDAPSearchSettings" AS t17_r17, "ldap_knob_sets"."PayloadDisplayName" AS t17_r9, "ldap_knob_sets"."PayloadEnabled" AS t17_r10, "ldap_knob_sets"."PayloadUUID" AS t17_r8, "ldap_knob_sets"."PayloadVersion" AS t17_r7, "ldap_knob_sets"."admin_session" AS t17_r2, "ldap_knob_sets"."created_at" AS t17_r5, "ldap_knob_sets"."deleted" AS t17_r4, "ldap_knob_sets"."id" AS t17_r0, "ldap_knob_sets"."is_from_servermgr" AS t17_r11, "ldap_knob_sets"."last_modified_guid" AS t17_r1, "ldap_knob_sets"."temporary_id" AS t17_r3, "ldap_knob_sets"."updated_at" AS t17_r6, "login_item_knob_sets"."DisableLoginItemsSuppression" AS t18_r13, "login_item_knob_sets"."LoginUserMayAddItems" AS t18_r12, "login_item_knob_sets"."PayloadDisplayName" AS t18_r9, "login_item_knob_sets"."PayloadEnabled" AS t18_r10, "login_item_knob_sets"."PayloadUUID" AS t18_r8, "login_item_knob_sets"."PayloadVersion" AS t18_r7, "login_item_knob_sets"."admin_session" AS t18_r2, "login_item_knob_sets"."created_at" AS t18_r5, "login_item_knob_sets"."deleted" AS t18_r4, "login_item_knob_sets"."files" AS t18_r15, "login_item_knob_sets"."hiddenApplicationIds" AS t18_r16, "login_item_knob_sets"."id" AS t18_r0, "login_item_knob_sets"."is_from_servermgr" AS t18_r11, "login_item_knob_sets"."last_modified_guid" AS t18_r1, "login_item_knob_sets"."mounts" AS t18_r14, "login_item_knob_sets"."temporary_id" AS t18_r3, "login_item_knob_sets"."updated_at" AS t18_r6, "login_window_knob_sets"."AdminHostInfo" AS t19_r12, "login_window_knob_sets"."AdminMayDisableMCX" AS t19_r25, "login_window_knob_sets"."AllowUserGroups" AS t19_r34, "login_window_knob_sets"."AllowUsers" AS t19_r33, "login_window_knob_sets"."AlwaysShowWorkgroupDialog" AS t19_r28, "login_window_knob_sets"."AutoLogOutDelay" AS t19_r38, "login_window_knob_sets"."CombineUserWorkgroups" AS t19_r29, "login_window_knob_sets"."DenyUserGroups" AS t19_r36, "login_window_knob_sets"."DenyUsers" AS t19_r35, "login_window_knob_sets"."DisableAutoLoginClient" AS t19_r23, "login_window_knob_sets"."DisableConsoleAccess" AS t19_r24, "login_window_knob_sets"."DisableGuestAccount" AS t19_r39, "login_window_knob_sets"."EnableExternalAccounts" AS t19_r27, "login_window_knob_sets"."FlattenUserWorkgroups" AS t19_r30, "login_window_knob_sets"."HideAdminUsers" AS t19_r18, "login_window_knob_sets"."HideLocalUsers" AS t19_r15, "login_window_knob_sets"."HideMobileAccounts" AS t19_r16, "login_window_knob_sets"."IncludeNetworkUser" AS t19_r17, "login_window_knob_sets"."LocalUserLoginEnabled" AS t19_r31, "login_window_knob_sets"."LocalUsersHaveWorkgroups" AS t19_r32, "login_window_knob_sets"."LoginwindowText" AS t19_r13, "login_window_knob_sets"."MultipleSessionEnabled" AS t19_r37, "login_window_knob_sets"."PayloadDisplayName" AS t19_r9, "login_window_knob_sets"."PayloadEnabled" AS t19_r10, "login_window_knob_sets"."PayloadUUID" AS t19_r8, "login_window_knob_sets"."PayloadVersion" AS t19_r7, "login_window_knob_sets"."RestartDisabled" AS t19_r20, "login_window_knob_sets"."RetriesUntilHint" AS t19_r22, "login_window_knob_sets"."SHOWFULLNAME" AS t19_r14, "login_window_knob_sets"."SHOWOTHERUSERS_MANAGED" AS t19_r19, "login_window_knob_sets"."ShutDownDisabled" AS t19_r21, "login_window_knob_sets"."UseComputerNameForComputerRecordName" AS t19_r26, "login_window_knob_sets"."admin_session" AS t19_r2, "login_window_knob_sets"."created_at" AS t19_r5, "login_window_knob_sets"."deleted" AS t19_r4, "login_window_knob_sets"."id" AS t19_r0, "login_window_knob_sets"."is_from_servermgr" AS t19_r11, "login_window_knob_sets"."last_modified_guid" AS t19_r1, "login_window_knob_sets"."loginWindowIdleTime" AS t19_r40, "login_window_knob_sets"."loginWindowModulePath" AS t19_r41, "login_window_knob_sets"."loginscripts_filedata" AS t19_r43, "login_window_knob_sets"."loginscripts_filename" AS t19_r42, "login_window_knob_sets"."logoutscripts_filedata" AS t19_r45, "login_window_knob_sets"."logoutscripts_filename" AS t19_r44, "login_window_knob_sets"."skipLoginHook" AS t19_r46, "login_window_knob_sets"."skipLogoutHook" AS t19_r47, "login_window_knob_sets"."temporary_id" AS t19_r3, "login_window_knob_sets"."updated_at" AS t19_r6, "mac_restrictions_knob_sets"."DisableAirDrop" AS t20_r31, "mac_restrictions_knob_sets"."EnabledPreferencePanes" AS t20_r36, "mac_restrictions_knob_sets"."PayloadDisplayName" AS t20_r9, "mac_restrictions_knob_sets"."PayloadEnabled" AS t20_r10, "mac_restrictions_knob_sets"."PayloadUUID" AS t20_r8, "mac_restrictions_knob_sets"."PayloadVersion" AS t20_r7, "mac_restrictions_knob_sets"."RestrictPrefPanes" AS t20_r37, "mac_restrictions_knob_sets"."admin_session" AS t20_r2, "mac_restrictions_knob_sets"."cd_allow" AS t20_r12, "mac_restrictions_knob_sets"."cd_auth" AS t20_r13, "mac_restrictions_knob_sets"."created_at" AS t20_r5, "mac_restrictions_knob_sets"."deleted" AS t20_r4, "mac_restrictions_knob_sets"."disk_image_allow" AS t20_r24, "mac_restrictions_knob_sets"."disk_image_auth" AS t20_r25, "mac_restrictions_knob_sets"."disk_image_read_only" AS t20_r26, "mac_restrictions_knob_sets"."dvd_allow" AS t20_r14, "mac_restrictions_knob_sets"."dvd_auth" AS t20_r15, "mac_restrictions_knob_sets"."dvd_ram_allow" AS t20_r27, "mac_restrictions_knob_sets"."dvd_ram_auth" AS t20_r28, "mac_restrictions_knob_sets"."dvd_ram_read_only" AS t20_r29, "mac_restrictions_knob_sets"."eject_at_logout" AS t20_r30, "mac_restrictions_knob_sets"."familyControlsEnabled" AS t20_r34, "mac_restrictions_knob_sets"."harddisk_external_allow" AS t20_r21, "mac_restrictions_knob_sets"."harddisk_external_auth" AS t20_r22, "mac_restrictions_knob_sets"."harddisk_external_read_only" AS t20_r23, "mac_restrictions_knob_sets"."harddisk_internal_allow" AS t20_r18, "mac_restrictions_knob_sets"."harddisk_internal_auth" AS t20_r19, "mac_restrictions_knob_sets"."harddisk_internal_read_only" AS t20_r20, "mac_restrictions_knob_sets"."id" AS t20_r0, "mac_restrictions_knob_sets"."is_from_servermgr" AS t20_r11, "mac_restrictions_knob_sets"."last_modified_guid" AS t20_r1, "mac_restrictions_knob_sets"."pathBlackList" AS t20_r33, "mac_restrictions_knob_sets"."pathWhiteList" AS t20_r32, "mac_restrictions_knob_sets"."recordable_allow" AS t20_r16, "mac_restrictions_knob_sets"."recordable_auth" AS t20_r17, "mac_restrictions_knob_sets"."temporary_id" AS t20_r3, "mac_restrictions_knob_sets"."updated_at" AS t20_r6, "mac_restrictions_knob_sets"."whiteListEnabled" AS t20_r35, "mcx_knob_sets"."PayloadDisplayName" AS t21_r9, "mcx_knob_sets"."PayloadEnabled" AS t21_r10, "mcx_knob_sets"."PayloadUUID" AS t21_r8, "mcx_knob_sets"."PayloadVersion" AS t21_r7, "mcx_knob_sets"."admin_session" AS t21_r2, "mcx_knob_sets"."created_at" AS t21_r5, "mcx_knob_sets"."deleted" AS t21_r4, "mcx_knob_sets"."id" AS t21_r0, "mcx_knob_sets"."is_from_servermgr" AS t21_r11, "mcx_knob_sets"."last_modified_guid" AS t21_r1, "mcx_knob_sets"."mcx_payload" AS t21_r12, "mcx_knob_sets"."temporary_id" AS t21_r3, "mcx_knob_sets"."updated_at" AS t21_r6, "mobility_knob_sets"."HomeSync_menu" AS t22_r41, "mobility_knob_sets"."PayloadDisplayName" AS t22_r9, "mobility_knob_sets"."PayloadEnabled" AS t22_r10, "mobility_knob_sets"."PayloadUUID" AS t22_r8, "mobility_knob_sets"."PayloadVersion" AS t22_r7, "mobility_knob_sets"."admin_session" AS t22_r2, "mobility_knob_sets"."cachedAccountsDeleteAfterMultiplier" AS t22_r25, "mobility_knob_sets"."cachedaccounts_WarnOnCreate_allowNever" AS t22_r12, "mobility_knob_sets"."cachedaccounts_create_encrypt" AS t22_r16, "mobility_knob_sets"."cachedaccounts_create_encrypt_requireMasterPassword" AS t22_r17, "mobility_knob_sets"."cachedaccounts_create_location" AS t22_r18, "mobility_knob_sets"."cachedaccounts_create_location_path" AS t22_r19, "mobility_knob_sets"."cachedaccounts_create_maxSize" AS t22_r20, "mobility_knob_sets"."cachedaccounts_create_maxSize_fixedSize" AS t22_r21, "mobility_knob_sets"."cachedaccounts_create_maxSize_percentOfNetworkHome" AS t22_r22, "mobility_knob_sets"."cachedaccounts_expiry_cond_successfulSync" AS t22_r24, "mobility_knob_sets"."cachedaccounts_expiry_delete_disusedSeconds" AS t22_r23, "mobility_knob_sets"."com_apple_cachedaccounts_CreateAtLogin" AS t22_r13, "mobility_knob_sets"."com_apple_cachedaccounts_CreatePHDAtLogin" AS t22_r14, "mobility_knob_sets"."com_apple_cachedaccounts_WarnOnCreate" AS t22_r15, "mobility_knob_sets"."created_at" AS t22_r5, "mobility_knob_sets"."deleted" AS t22_r4, "mobility_knob_sets"."excludedItems" AS t22_r32, "mobility_knob_sets"."excludedPrefItems" AS t22_r31, "mobility_knob_sets"."id" AS t22_r0, "mobility_knob_sets"."is_from_servermgr" AS t22_r11, "mobility_knob_sets"."last_modified_guid" AS t22_r1, "mobility_knob_sets"."periodicSyncOn" AS t22_r40, "mobility_knob_sets"."replaceUserPrefSyncList" AS t22_r30, "mobility_knob_sets"."replaceUserSyncList" AS t22_r37, "mobility_knob_sets"."syncBackgroundSetAtLogin" AS t22_r33, "mobility_knob_sets"."syncBackgroundSetAtLogout" AS t22_r34, "mobility_knob_sets"."syncBackgroundSetAtSyncNow" AS t22_r35, "mobility_knob_sets"."syncBackgroundSetInBackground" AS t22_r36, "mobility_knob_sets"."syncPeriodSeconds" AS t22_r42, "mobility_knob_sets"."syncPreferencesAtLogin" AS t22_r26, "mobility_knob_sets"."syncPreferencesAtLogout" AS t22_r27, "mobility_knob_sets"."syncPreferencesAtSyncNow" AS t22_r28, "mobility_knob_sets"."syncPreferencesInBackground" AS t22_r29, "mobility_knob_sets"."syncedFolders" AS t22_r39, "mobility_knob_sets"."syncedPrefFolders" AS t22_r38, "mobility_knob_sets"."temporary_id" AS t22_r3, "mobility_knob_sets"."updated_at" AS t22_r6, "parental_controls_knob_sets"."PayloadDisplayName" AS t23_r9, "parental_controls_knob_sets"."PayloadEnabled" AS t23_r10, "parental_controls_knob_sets"."PayloadUUID" AS t23_r8, "parental_controls_knob_sets"."PayloadVersion" AS t23_r7, "parental_controls_knob_sets"."admin_session" AS t23_r2, "parental_controls_knob_sets"."cerfewWeekdayEnabled" AS t23_r24, "parental_controls_knob_sets"."cerfewWeekdayFromAMPM" AS t23_r34, "parental_controls_knob_sets"."cerfewWeekdayFromHour" AS t23_r25, "parental_controls_knob_sets"."cerfewWeekdayFromMinute" AS t23_r26, "parental_controls_knob_sets"."cerfewWeekdayToAMPM" AS t23_r35, "parental_controls_knob_sets"."cerfewWeekdayToHour" AS t23_r27, "parental_controls_knob_sets"."cerfewWeekdayToMinute" AS t23_r28, "parental_controls_knob_sets"."cerfewWeekendEnabled" AS t23_r29, "parental_controls_knob_sets"."cerfewWeekendFromAMPM" AS t23_r36, "parental_controls_knob_sets"."cerfewWeekendFromHour" AS t23_r30, "parental_controls_knob_sets"."cerfewWeekendFromMinute" AS t23_r31, "parental_controls_knob_sets"."cerfewWeekendToAMPM" AS t23_r37, "parental_controls_knob_sets"."cerfewWeekendToHour" AS t23_r32, "parental_controls_knob_sets"."cerfewWeekendToMinute" AS t23_r33, "parental_controls_knob_sets"."created_at" AS t23_r5, "parental_controls_knob_sets"."deleted" AS t23_r4, "parental_controls_knob_sets"."enforceWeekdayTimeLimit" AS t23_r20, "parental_controls_knob_sets"."enforceWeekendTimeLimit" AS t23_r22, "parental_controls_knob_sets"."familyControlsEnabled" AS t23_r19, "parental_controls_knob_sets"."filterBlacklist" AS t23_r13, "parental_controls_knob_sets"."filterWhitelist" AS t23_r12, "parental_controls_knob_sets"."id" AS t23_r0, "parental_controls_knob_sets"."is_from_servermgr" AS t23_r11, "parental_controls_knob_sets"."last_modified_guid" AS t23_r1, "parental_controls_knob_sets"."parentalControl" AS t23_r16, "parental_controls_knob_sets"."restrictWeb" AS t23_r17, "parental_controls_knob_sets"."siteWhitelist" AS t23_r14, "parental_controls_knob_sets"."temporary_id" AS t23_r3, "parental_controls_knob_sets"."updated_at" AS t23_r6, "parental_controls_knob_sets"."useContentFilter" AS t23_r15, "parental_controls_knob_sets"."weekdayTimeLimit" AS t23_r21, "parental_controls_knob_sets"."weekendTimeLimit" AS t23_r23, "parental_controls_knob_sets"."whiteListEnabled" AS t23_r18, "passcode_knob_sets"."PayloadDisplayName" AS t24_r9, "passcode_knob_sets"."PayloadEnabled" AS t24_r10, "passcode_knob_sets"."PayloadUUID" AS t24_r8, "passcode_knob_sets"."PayloadVersion" AS t24_r7, "passcode_knob_sets"."admin_session" AS t24_r2, "passcode_knob_sets"."allowSimple" AS t24_r12, "passcode_knob_sets"."created_at" AS t24_r5, "passcode_knob_sets"."deleted" AS t24_r4, "passcode_knob_sets"."forcePIN" AS t24_r13, "passcode_knob_sets"."id" AS t24_r0, "passcode_knob_sets"."is_from_servermgr" AS t24_r11, "passcode_knob_sets"."last_modified_guid" AS t24_r1, "passcode_knob_sets"."maxFailedAttempts" AS t24_r14, "passcode_knob_sets"."maxGracePeriod" AS t24_r15, "passcode_knob_sets"."maxInactivity" AS t24_r16, "passcode_knob_sets"."maxPINAgeInDays" AS t24_r17, "passcode_knob_sets"."minComplexChars" AS t24_r18, "passcode_knob_sets"."minLength" AS t24_r19, "passcode_knob_sets"."pinHistory" AS t24_r20, "passcode_knob_sets"."requireAlphanumeric" AS t24_r21, "passcode_knob_sets"."temporary_id" AS t24_r3, "passcode_knob_sets"."updated_at" AS t24_r6, "printing_knob_sets"."AllowLocalPrinters" AS t25_r15, "printing_knob_sets"."DefaultPrinter" AS t25_r13, "printing_knob_sets"."FooterFontName" AS t25_r21, "printing_knob_sets"."FooterFontSize" AS t25_r20, "printing_knob_sets"."PayloadDisplayName" AS t25_r9, "printing_knob_sets"."PayloadEnabled" AS t25_r10, "printing_knob_sets"."PayloadUUID" AS t25_r8, "printing_knob_sets"."PayloadVersion" AS t25_r7, "printing_knob_sets"."PrintFooter" AS t25_r18, "printing_knob_sets"."PrintMACAddress" AS t25_r19, "printing_knob_sets"."RequireAdminToAddPrinters" AS t25_r14, "printing_knob_sets"."RequireAdminToPrintLocally" AS t25_r16, "printing_knob_sets"."ShowOnlyManagedPrinters" AS t25_r17, "printing_knob_sets"."admin_session" AS t25_r2, "printing_knob_sets"."created_at" AS t25_r5, "printing_knob_sets"."deleted" AS t25_r4, "printing_knob_sets"."id" AS t25_r0, "printing_knob_sets"."is_from_servermgr" AS t25_r11, "printing_knob_sets"."last_modified_guid" AS t25_r1, "printing_knob_sets"."lockedPrinterIds" AS t25_r12, "printing_knob_sets"."temporary_id" AS t25_r3, "printing_knob_sets"."updated_at" AS t25_r6, "privacy_knob_sets"."AllowIdentifiedDevelopers" AS t26_r14, "privacy_knob_sets"."AutoSubmit" AS t26_r12, "privacy_knob_sets"."DisableOverride" AS t26_r15, "privacy_knob_sets"."EnableAssessment" AS t26_r13, "privacy_knob_sets"."PayloadDisplayName" AS t26_r9, "privacy_knob_sets"."PayloadEnabled" AS t26_r10, "privacy_knob_sets"."PayloadUUID" AS t26_r8, "privacy_knob_sets"."PayloadVersion" AS t26_r7, "privacy_knob_sets"."admin_session" AS t26_r2, "privacy_knob_sets"."created_at" AS t26_r5, "privacy_knob_sets"."deleted" AS t26_r4, "privacy_knob_sets"."id" AS t26_r0, "privacy_knob_sets"."is_from_servermgr" AS t26_r11, "privacy_knob_sets"."last_modified_guid" AS t26_r1, "privacy_knob_sets"."temporary_id" AS t26_r3, "privacy_knob_sets"."updated_at" AS t26_r6, "restrictions_knob_sets"."PayloadDisplayName" AS t27_r9, "restrictions_knob_sets"."PayloadEnabled" AS t27_r10, "restrictions_knob_sets"."PayloadUUID" AS t27_r8, "restrictions_knob_sets"."PayloadVersion" AS t27_r7, "restrictions_knob_sets"."admin_session" AS t27_r2, "restrictions_knob_sets"."allowAddingGameCenterFriends" AS t27_r16, "restrictions_knob_sets"."allowAppInstallation" AS t27_r12, "restrictions_knob_sets"."allowAssistant" AS t27_r43, "restrictions_knob_sets"."allowAssistantWhileLocked" AS t27_r44, "restrictions_knob_sets"."allowCamera" AS t27_r13, "restrictions_knob_sets"."allowCloudBackup" AS t27_r38, "restrictions_knob_sets"."allowCloudDocumentSync" AS t27_r40, "restrictions_knob_sets"."allowCloudKeyValueSync" AS t27_r41, "restrictions_knob_sets"."allowExplicitContent" AS t27_r17, "restrictions_knob_sets"."allowGlobalBackgroundFetchWhenRoaming" AS t27_r22, "restrictions_knob_sets"."allowInAppPurchases" AS t27_r32, "restrictions_knob_sets"."allowLocationServices" AS t27_r23, "restrictions_knob_sets"."allowMultiplayerGaming" AS t27_r15, "restrictions_knob_sets"."allowPhotoStream" AS t27_r39, "restrictions_knob_sets"."allowSafari" AS t27_r26, "restrictions_knob_sets"."allowScreenShot" AS t27_r18, "restrictions_knob_sets"."allowUntrustedTLSPrompt" AS t27_r42, "restrictions_knob_sets"."allowVideoConferencing" AS t27_r14, "restrictions_knob_sets"."allowVoiceDialing" AS t27_r21, "restrictions_knob_sets"."allowYouTube" AS t27_r19, "restrictions_knob_sets"."allowiTunes" AS t27_r20, "restrictions_knob_sets"."created_at" AS t27_r5, "restrictions_knob_sets"."deleted" AS t27_r4, "restrictions_knob_sets"."forceContentProtection" AS t27_r25, "restrictions_knob_sets"."forceEncryptedBackup" AS t27_r24, "restrictions_knob_sets"."forceITunesStorePasswordEntry" AS t27_r37, "restrictions_knob_sets"."id" AS t27_r0, "restrictions_knob_sets"."is_from_servermgr" AS t27_r11, "restrictions_knob_sets"."last_modified_guid" AS t27_r1, "restrictions_knob_sets"."ratingApps" AS t27_r36, "restrictions_knob_sets"."ratingMovies" AS t27_r34, "restrictions_knob_sets"."ratingRegion" AS t27_r33, "restrictions_knob_sets"."ratingTVShows" AS t27_r35, "restrictions_knob_sets"."safariAcceptCookies" AS t27_r31, "restrictions_knob_sets"."safariAllowAutoFill" AS t27_r27, "restrictions_knob_sets"."safariAllowJavaScript" AS t27_r29, "restrictions_knob_sets"."safariAllowPopups" AS t27_r30, "restrictions_knob_sets"."safariForceFraudWarning" AS t27_r28, "restrictions_knob_sets"."temporary_id" AS t27_r3, "restrictions_knob_sets"."updated_at" AS t27_r6, "scep_knob_sets"."CAFingerprint" AS t28_r19, "scep_knob_sets"."Challenge" AS t28_r15, "scep_knob_sets"."Key_Type" AS t28_r17, "scep_knob_sets"."Key_Usage" AS t28_r18, "scep_knob_sets"."Keysize" AS t28_r16, "scep_knob_sets"."Name" AS t28_r13, "scep_knob_sets"."PayloadDisplayName" AS t28_r9, "scep_knob_sets"."PayloadEnabled" AS t28_r10, "scep_knob_sets"."PayloadUUID" AS t28_r8, "scep_knob_sets"."PayloadVersion" AS t28_r7, "scep_knob_sets"."Retries" AS t28_r21, "scep_knob_sets"."RetryDelay" AS t28_r22, "scep_knob_sets"."Subject" AS t28_r14, "scep_knob_sets"."SubjectAltName" AS t28_r20, "scep_knob_sets"."URL" AS t28_r12, "scep_knob_sets"."admin_session" AS t28_r2, "scep_knob_sets"."created_at" AS t28_r5, "scep_knob_sets"."deleted" AS t28_r4, "scep_knob_sets"."id" AS t28_r0, "scep_knob_sets"."is_from_servermgr" AS t28_r11, "scep_knob_sets"."last_modified_guid" AS t28_r1, "scep_knob_sets"."temporary_id" AS t28_r3, "scep_knob_sets"."updated_at" AS t28_r6, "software_update_knob_sets"."CatalogURL" AS t29_r12, "software_update_knob_sets"."PayloadDisplayName" AS t29_r9, "software_update_knob_sets"."PayloadEnabled" AS t29_r10, "software_update_knob_sets"."PayloadUUID" AS t29_r8, "software_update_knob_sets"."PayloadVersion" AS t29_r7, "software_update_knob_sets"."admin_session" AS t29_r2, "software_update_knob_sets"."created_at" AS t29_r5, "software_update_knob_sets"."deleted" AS t29_r4, "software_update_knob_sets"."id" AS t29_r0, "software_update_knob_sets"."is_from_servermgr" AS t29_r11, "software_update_knob_sets"."last_modified_guid" AS t29_r1, "software_update_knob_sets"."temporary_id" AS t29_r3, "software_update_knob_sets"."updated_at" AS t29_r6, "vpn_knob_sets"."IPSec" AS t30_r16, "vpn_knob_sets"."OverridePrimary" AS t30_r13, "vpn_knob_sets"."PPP" AS t30_r15, "vpn_knob_sets"."PayloadDisplayName" AS t30_r9, "vpn_knob_sets"."PayloadEnabled" AS t30_r10, "vpn_knob_sets"."PayloadUUID" AS t30_r8, "vpn_knob_sets"."PayloadVersion" AS t30_r7, "vpn_knob_sets"."Proxies" AS t30_r18, "vpn_knob_sets"."UserDefinedName" AS t30_r12, "vpn_knob_sets"."VPN" AS t30_r17, "vpn_knob_sets"."VPNSubType" AS t30_r20, "vpn_knob_sets"."VPNType" AS t30_r14, "vpn_knob_sets"."VendorConfig" AS t30_r19, "vpn_knob_sets"."admin_session" AS t30_r2, "vpn_knob_sets"."created_at" AS t30_r5, "vpn_knob_sets"."deleted" AS t30_r4, "vpn_knob_sets"."id" AS t30_r0, "vpn_knob_sets"."is_from_servermgr" AS t30_r11, "vpn_knob_sets"."last_modified_guid" AS t30_r1, "vpn_knob_sets"."temporary_id" AS t30_r3, "vpn_knob_sets"."updated_at" AS t30_r6, "web_clip_knob_sets"."FullScreen" AS t31_r17, "web_clip_knob_sets"."Icon" AS t31_r14, "web_clip_knob_sets"."IsRemovable" AS t31_r15, "web_clip_knob_sets"."Label" AS t31_r13, "web_clip_knob_sets"."PayloadDisplayName" AS t31_r9, "web_clip_knob_sets"."PayloadEnabled" AS t31_r10, "web_clip_knob_sets"."PayloadUUID" AS t31_r8, "web_clip_knob_sets"."PayloadVersion" AS t31_r7, "web_clip_knob_sets"."Precomposed" AS t31_r16, "web_clip_knob_sets"."URL" AS t31_r12, "web_clip_knob_sets"."admin_session" AS t31_r2, "web_clip_knob_sets"."created_at" AS t31_r5, "web_clip_knob_sets"."deleted" AS t31_r4, "web_clip_knob_sets"."id" AS t31_r0, "web_clip_knob_sets"."is_from_servermgr" AS t31_r11, "web_clip_knob_sets"."last_modified_guid" AS t31_r1, "web_clip_knob_sets"."temporary_id" AS t31_r3, "web_clip_knob_sets"."updated_at" AS t31_r6, "wifi_knob_sets"."EAPClientConfiguration" AS t32_r17, "wifi_knob_sets"."EncryptionType" AS t32_r14, "wifi_knob_sets"."HIDDEN_NETWORK" AS t32_r13, "wifi_knob_sets"."Password" AS t32_r15, "wifi_knob_sets"."PayloadCertificateUUID" AS t32_r16, "wifi_knob_sets"."PayloadDisplayName" AS t32_r9, "wifi_knob_sets"."PayloadEnabled" AS t32_r10, "wifi_knob_sets"."PayloadUUID" AS t32_r8, "wifi_knob_sets"."PayloadVersion" AS t32_r7, "wifi_knob_sets"."SSID_STR" AS t32_r12, "wifi_knob_sets"."admin_session" AS t32_r2, "wifi_knob_sets"."created_at" AS t32_r5, "wifi_knob_sets"."deleted" AS t32_r4, "wifi_knob_sets"."id" AS t32_r0, "wifi_knob_sets"."is_from_servermgr" AS t32_r11, "wifi_knob_sets"."last_modified_guid" AS t32_r1, "wifi_knob_sets"."temporary_id" AS t32_r3, "wifi_knob_sets"."updated_at" AS t32_r6 FROM knob_sets_profiles  JOIN profiles polymorphic_parent ON knob_sets_profiles.profile_id = polymorphic_parent.id LEFT JOIN ad_cert_knob_sets ON knob_sets_profiles.knob_set_id = ad_cert_knob_sets.id AND knob_sets_profiles.knob_set_type = 'AdCertKnobSet' LEFT JOIN apn_knob_sets ON knob_sets_profiles.knob_set_id = apn_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ApnKnobSet' LEFT JOIN cal_dav_knob_sets ON knob_sets_profiles.knob_set_id = cal_dav_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CalDavKnobSet' LEFT JOIN cal_sub_knob_sets ON knob_sets_profiles.knob_set_id = cal_sub_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CalSubKnobSet' LEFT JOIN card_dav_knob_sets ON knob_sets_profiles.knob_set_id = card_dav_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CardDavKnobSet' LEFT JOIN certificate_knob_sets ON knob_sets_profiles.knob_set_id = certificate_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CertificateKnobSet' LEFT JOIN cfprefs_knob_sets ON knob_sets_profiles.knob_set_id = cfprefs_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CfprefsKnobSet' LEFT JOIN directory_knob_sets ON knob_sets_profiles.knob_set_id = directory_knob_sets.id AND knob_sets_profiles.knob_set_type = 'DirectoryKnobSet' LEFT JOIN dock_knob_sets ON knob_sets_profiles.knob_set_id = dock_knob_sets.id AND knob_sets_profiles.knob_set_type = 'DockKnobSet' LEFT JOIN email_knob_sets ON knob_sets_profiles.knob_set_id = email_knob_sets.id AND knob_sets_profiles.knob_set_type = 'EmailKnobSet' LEFT JOIN energy_saver_knob_sets ON knob_sets_profiles.knob_set_id = energy_saver_knob_sets.id AND knob_sets_profiles.knob_set_type = 'EnergySaverKnobSet' LEFT JOIN exchange_knob_sets ON knob_sets_profiles.knob_set_id = exchange_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ExchangeKnobSet' LEFT JOIN general_knob_sets ON knob_sets_profiles.knob_set_id = general_knob_sets.id AND knob_sets_profiles.knob_set_type = 'GeneralKnobSet' LEFT JOIN ichat_knob_sets ON knob_sets_profiles.knob_set_id = ichat_knob_sets.id AND knob_sets_profiles.knob_set_type = 'IchatKnobSet' LEFT JOIN ldap_knob_sets ON knob_sets_profiles.knob_set_id = ldap_knob_sets.id AND knob_sets_profiles.knob_set_type = 'LdapKnobSet' LEFT JOIN login_item_knob_sets ON knob_sets_profiles.knob_set_id = login_item_knob_sets.id AND knob_sets_profiles.knob_set_type = 'LoginItemKnobSet' LEFT JOIN login_window_knob_sets ON knob_sets_profiles.knob_set_id = login_window_knob_sets.id AND knob_sets_profiles.knob_set_type = 'LoginWindowKnobSet' LEFT JOIN mac_restrictions_knob_sets ON knob_sets_profiles.knob_set_id = mac_restrictions_knob_sets.id AND knob_sets_profiles.knob_set_type = 'MacRestrictionsKnobSet' LEFT JOIN mcx_knob_sets ON knob_sets_profiles.knob_set_id = mcx_knob_sets.id AND knob_sets_profiles.knob_set_type = 'McxKnobSet' LEFT JOIN mobility_knob_sets ON knob_sets_profiles.knob_set_id = mobility_knob_sets.id AND knob_sets_profiles.knob_set_type = 'MobilityKnobSet' LEFT JOIN interface_knob_sets ON knob_sets_profiles.knob_set_id = interface_knob_sets.id AND knob_sets_profiles.knob_set_type = 'InterfaceKnobSet' LEFT JOIN parental_controls_knob_sets ON knob_sets_profiles.knob_set_id = parental_controls_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ParentalControlsKnobSet' LEFT JOIN passcode_knob_sets ON knob_sets_profiles.knob_set_id = passcode_knob_sets.id AND knob_sets_profiles.knob_set_type = 'PasscodeKnobSet' LEFT JOIN printing_knob_sets ON knob_sets_profiles.knob_set_id = printing_knob_sets.id AND knob_sets_profiles.knob_set_type = 'PrintingKnobSet' LEFT JOIN privacy_knob_sets ON knob_sets_profiles.knob_set_id = privacy_knob_sets.id AND knob_sets_profiles.knob_set_type = 'PrivacyKnobSet' LEFT JOIN restrictions_knob_sets ON knob_sets_profiles.knob_set_id = restrictions_knob_sets.id AND knob_sets_profiles.knob_set_type = 'RestrictionsKnobSet' LEFT JOIN scep_knob_sets ON knob_sets_profiles.knob_set_id = scep_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ScepKnobSet' LEFT JOIN software_update_knob_sets ON knob_sets_profiles.knob_set_id = software_update_knob_sets.id AND knob_sets_profiles.knob_set_type = 'SoftwareUpdateKnobSet' LEFT JOIN vpn_knob_sets ON knob_sets_profiles.knob_set_id = vpn_knob_sets.id AND knob_sets_profiles.knob_set_type = 'VpnKnobSet' LEFT JOIN web_clip_knob_sets ON knob_sets_profiles.knob_set_id = web_clip_knob_sets.id AND knob_sets_profiles.knob_set_type = 'WebClipKnobSet' LEFT JOIN wifi_knob_sets ON knob_sets_profiles.knob_set_id = wifi_knob_sets.id AND knob_sets_profiles.knob_set_type = 'WifiKnobSet' LEFT JOIN identification_knob_sets ON knob_sets_profiles.knob_set_id = identification_knob_sets.id AND knob_sets_profiles.knob_set_type = 'IdentificationKnobSet'  WHERE ((knob_sets_profiles.profile_id = 1))

    2012-08-22 17:20:19 CEST LOG:  statement: COMMIT

    2012-08-22 17:20:19 CEST LOG:  disconnection: session time: 0:00:00.611 user=_devicemgr database=device_management host=[local]

    2012-08-22 17:20:19 CEST DEBUG:  server process (PID 19639) exited with exit code 0

    2012-08-22 17:20:20 CEST DEBUG:  autovacuum: processing database "webauth"

    2012-08-22 17:20:20 CEST DEBUG:  server process (PID 19665) exited with exit code 0

    2012-08-22 17:20:21 CEST DEBUG:  forked new backend, pid=19670 socket=9

    2012-08-22 17:20:21 CEST LOG:  connection received: host=[local]

    2012-08-22 17:20:21 CEST LOG:  connection authorized: user=collab database=collab

    2012-08-22 17:20:21 CEST LOG:  statement: SELECT '{}'::text[], hstore('a','b')

    2012-08-22 17:20:21 CEST DEBUG:  parse <unnamed>: BEGIN

    2012-08-22 17:20:21 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:21 CEST LOG:  execute <unnamed>: BEGIN

    2012-08-22 17:20:21 CEST DEBUG:  parse <unnamed>: SELECT uid   FROM entity     LEFT OUTER JOIN user_entity ON (user_entity.entity_uid_fk=entity.uid)  WHERE entity.entity_type_fk=$1 AND user_entity.external_id=$2

    2012-08-22 17:20:21 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:21 CEST LOG:  execute <unnamed>: SELECT uid   FROM entity     LEFT OUTER JOIN user_entity ON (user_entity.entity_uid_fk=entity.uid)  WHERE entity.entity_type_fk=$1 AND user_entity.external_id=$2

    2012-08-22 17:20:21 CEST DETAIL:  parameters: $1 = 'com.apple.entity.User', $2 = 'unauthenticated'

    2012-08-22 17:20:21 CEST DEBUG:  parse <unnamed>: WITH acl AS (     SELECT DISTINCT ON (position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))) entity_uid_fk       FROM entity_acls         LEFT OUTER JOIN entity ON (entity.uid=$2 AND NOT entity.is_perm_deleted)      WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])        AND allow   GROUP BY entity_uid_fk, position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))   ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC      LIMIT 1) SELECT max(action)::text FROM entity_acls WHERE entity_uid_fk=(SELECT entity_uid_fk FROM acl) AND external_id=ANY($1)

    2012-08-22 17:20:21 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:21 CEST LOG:  execute <unnamed>: WITH acl AS (     SELECT DISTINCT ON (position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))) entity_uid_fk       FROM entity_acls         LEFT OUTER JOIN entity ON (entity.uid=$2 AND NOT entity.is_perm_deleted)      WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])        AND allow   GROUP BY entity_uid_fk, position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))   ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC      LIMIT 1) SELECT max(action)::text FROM entity_acls WHERE entity_uid_fk=(SELECT entity_uid_fk FROM acl) AND external_id=ANY($1)

    2012-08-22 17:20:21 CEST DETAIL:  parameters: $1 = '{*,unauthenticated}', $2 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:21 CEST DEBUG:  parse <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:21 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:21 CEST LOG:  execute <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:21 CEST DETAIL:  parameters: $1 = '{*,unauthenticated}', $2 = 'read', $3 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:21 CEST DEBUG:  parse <unnamed>: SELECT "_inner_entity"."isDeleted", "_inner_entity"."longName", "_inner_entity"."isBlogEnabled", "_inner_entity"."description", "_inner_entity"."containerGUID", "_inner_entity"."createTime", "_inner_entity"."updatedByUserGUID", "_inner_entity"."revision", "_inner_entity"."shortName", "_inner_entity"."themeInfo", "_inner_entity"."ownerGUID", "_inner_entity"."ownerType", "_inner_entity"."type", "_inner_entity"."createdByUserGUID", "_inner_entity"."isHidden", "_inner_entity"."guid", "_inner_entity"."blogGUID", "_inner_entity"."tinyID", "_inner_entity"."parentGUIDs", "_inner_entity"."updateTime", "_inner_entity"."avatarGUID", "_inner_entity"."isPermanentlyDeleted", "_inner_entity"."isAuthenticated", "_inner_entity"."login", "_inner_entity"."externalID", "_inner_entity"."activityTime", "_inner_entity"."detailPageGUID", "_inner_entity"."tags", "_inner_entity"."extendedAttributes", "_inner_entity"."privateAttributes", "_inner_entity"."isFavorite", "_inner_entity"."isMyPage", "_inner_entity"."isWatched", ("_inner_entity"."_activity").action_time AS "lastActivityTime", ("_inner_entity"."_activity").user_uid_fk AS "lastActivityUserGUID", "_inner_entity"."tags" AS "tags" FROM (SELECT entity.is_deleted AS "isDeleted", entity.long_name AS "longName", entity.is_blog_enabled AS "isBlogEnabled", entity.description AS "description", entity.container_uid_fk AS "containerGUID", entity.create_time AS "createTime", entity.updatedby_user_fk AS "updatedByUserGUID", entity.revision AS "revision", entity.short_name AS "shortName", entity.theme_info AS "themeInfo", entity.ownedby_uid_fk AS "ownerGUID", entity.owner_entity_type_fk AS "ownerType", entity.entity_type_fk AS "type", entity.createdby_user_fk AS "createdByUserGUID", entity.is_hidden AS "isHidden", entity.uid AS "guid", entity.blog_uid_fk AS "blogGUID", entity.tiny_id AS "tinyID", entity.parent_uids AS "parentGUIDs", entity.update_time AS "updateTime", entity.avatar_uid_fk AS "avatarGUID", entity.is_perm_deleted AS "isPermanentlyDeleted", user_entity.is_authenticated AS "isAuthenticated", user_entity.login AS "login", user_entity.external_id AS "externalID", user_entity.activity_time AS "activityTime", user_entity.detail_page_fk AS "detailPageGUID", coalesce(entity_tag.tags,'{}') AS "tags", entity_attrs.attrs_bin AS "extendedAttributes", entity_private_attrs.attrs_bin AS "privateAttributes", NULL AS "isFavorite", NULL AS "isMyPage", NULL AS "isWatched",   (SELECT DISTINCT ON (user_uid_fk, action_time) ROW(user_uid_fk, action_time)::last_activity      FROM user_activity     WHERE user_uid_fk=entity.uid  ORDER BY user_uid_fk, action_time DESC     LIMIT 1) AS "_activity" FROM entity LEFT OUTER JOIN user_entity ON (user_entity.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_tag ON (entity_tag.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_attrs ON (entity_attrs.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_private_attrs ON (entity_private_attrs.entity_uid_fk=entity.uid) WHERE entity.uid=$1  AND true = (    WITH acls AS (      SELECT entity_uid_fk, array_agg(external_id) AS external_ids        FROM entity_acls       WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])         AND 'read' <= action    GROUP BY entity_uid_fk      HAVING array_length(array_agg(external_id), 1) > 0    ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC       LIMIT 1    )    SELECT true      FROM acls     WHERE external_ids && $2     LIMIT 1) AND NOT entity.is_perm_deleted AND NOT entity.is_deleted ) "_inner_entity"

    2012-08-22 17:20:21 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:21 CEST LOG:  execute <unnamed>: SELECT "_inner_entity"."isDeleted", "_inner_entity"."longName", "_inner_entity"."isBlogEnabled", "_inner_entity"."description", "_inner_entity"."containerGUID", "_inner_entity"."createTime", "_inner_entity"."updatedByUserGUID", "_inner_entity"."revision", "_inner_entity"."shortName", "_inner_entity"."themeInfo", "_inner_entity"."ownerGUID", "_inner_entity"."ownerType", "_inner_entity"."type", "_inner_entity"."createdByUserGUID", "_inner_entity"."isHidden", "_inner_entity"."guid", "_inner_entity"."blogGUID", "_inner_entity"."tinyID", "_inner_entity"."parentGUIDs", "_inner_entity"."updateTime", "_inner_entity"."avatarGUID", "_inner_entity"."isPermanentlyDeleted", "_inner_entity"."isAuthenticated", "_inner_entity"."login", "_inner_entity"."externalID", "_inner_entity"."activityTime", "_inner_entity"."detailPageGUID", "_inner_entity"."tags", "_inner_entity"."extendedAttributes", "_inner_entity"."privateAttributes", "_inner_entity"."isFavorite", "_inner_entity"."isMyPage", "_inner_entity"."isWatched", ("_inner_entity"."_activity").action_time AS "lastActivityTime", ("_inner_entity"."_activity").user_uid_fk AS "lastActivityUserGUID", "_inner_entity"."tags" AS "tags" FROM (SELECT entity.is_deleted AS "isDeleted", entity.long_name AS "longName", entity.is_blog_enabled AS "isBlogEnabled", entity.description AS "description", entity.container_uid_fk AS "containerGUID", entity.create_time AS "createTime", entity.updatedby_user_fk AS "updatedByUserGUID", entity.revision AS "revision", entity.short_name AS "shortName", entity.theme_info AS "themeInfo", entity.ownedby_uid_fk AS "ownerGUID", entity.owner_entity_type_fk AS "ownerType", entity.entity_type_fk AS "type", entity.createdby_user_fk AS "createdByUserGUID", entity.is_hidden AS "isHidden", entity.uid AS "guid", entity.blog_uid_fk AS "blogGUID", entity.tiny_id AS "tinyID", entity.parent_uids AS "parentGUIDs", entity.update_time AS "updateTime", entity.avatar_uid_fk AS "avatarGUID", entity.is_perm_deleted AS "isPermanentlyDeleted", user_entity.is_authenticated AS "isAuthenticated", user_entity.login AS "login", user_entity.external_id AS "externalID", user_entity.activity_time AS "activityTime", user_entity.detail_page_fk AS "detailPageGUID", coalesce(entity_tag.tags,'{}') AS "tags", entity_attrs.attrs_bin AS "extendedAttributes", entity_private_attrs.attrs_bin AS "privateAttributes", NULL AS "isFavorite", NULL AS "isMyPage", NULL AS "isWatched",   (SELECT DISTINCT ON (user_uid_fk, action_time) ROW(user_uid_fk, action_time)::last_activity      FROM user_activity     WHERE user_uid_fk=entity.uid  ORDER BY user_uid_fk, action_time DESC     LIMIT 1) AS "_activity" FROM entity LEFT OUTER JOIN user_entity ON (user_entity.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_tag ON (entity_tag.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_attrs ON (entity_attrs.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_private_attrs ON (entity_private_attrs.entity_uid_fk=entity.uid) WHERE entity.uid=$1  AND true = (    WITH acls AS (      SELECT entity_uid_fk, array_agg(external_id) AS external_ids        FROM entity_acls       WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])         AND 'read' <= action    GROUP BY entity_uid_fk      HAVING array_length(array_agg(external_id), 1) > 0    ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC       LIMIT 1    )    SELECT true      FROM acls     WHERE external_ids && $2     LIMIT 1) AND NOT entity.is_perm_deleted AND NOT entity.is_deleted ) "_inner_entity"

    2012-08-22 17:20:21 CEST DETAIL:  parameters: $1 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c', $2 = '{*,unauthenticated}'

    2012-08-22 17:20:21 CEST DEBUG:  parse <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:21 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:21 CEST LOG:  execute <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:21 CEST DETAIL:  parameters: $1 = '{*,unauthenticated}', $2 = 'own', $3 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:21 CEST DEBUG:  parse <unnamed>: COMMIT

    2012-08-22 17:20:21 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:21 CEST LOG:  execute <unnamed>: COMMIT

    2012-08-22 17:20:21 CEST DEBUG:  parse <unnamed>: INSERT INTO session (uid, user_uid_fk) VALUES ($1, $2) RETURNING uid

    2012-08-22 17:20:21 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:21 CEST LOG:  execute <unnamed>: INSERT INTO session (uid, user_uid_fk) VALUES ($1, $2) RETURNING uid

    2012-08-22 17:20:21 CEST DETAIL:  parameters: $1 = '012ad212-1de0-407b-a39b-1b7edf930cab', $2 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:21 CEST DEBUG:  parse <unnamed>: SELECT uid, user_uid_fk, auth_token, create_time, update_time, data FROM session WHERE uid=$1

    2012-08-22 17:20:21 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:21 CEST LOG:  execute <unnamed>: SELECT uid, user_uid_fk, auth_token, create_time, update_time, data FROM session WHERE uid=$1

    2012-08-22 17:20:21 CEST DETAIL:  parameters: $1 = '012ad212-1de0-407b-a39b-1b7edf930cab'

    2012-08-22 17:20:21 CEST DEBUG:  parse <unnamed>: WITH acl AS (     SELECT DISTINCT ON (position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))) entity_uid_fk       FROM entity_acls         LEFT OUTER JOIN entity ON (entity.uid=$2 AND NOT entity.is_perm_deleted)      WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])        AND allow   GROUP BY entity_uid_fk, position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))   ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC      LIMIT 1) SELECT max(action)::text FROM entity_acls WHERE entity_uid_fk=(SELECT entity_uid_fk FROM acl) AND external_id=ANY($1)

    2012-08-22 17:20:21 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:21 CEST LOG:  execute <unnamed>: WITH acl AS (     SELECT DISTINCT ON (position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))) entity_uid_fk       FROM entity_acls         LEFT OUTER JOIN entity ON (entity.uid=$2 AND NOT entity.is_perm_deleted)      WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])        AND allow   GROUP BY entity_uid_fk, position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))   ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC      LIMIT 1) SELECT max(action)::text FROM entity_acls WHERE entity_uid_fk=(SELECT entity_uid_fk FROM acl) AND external_id=ANY($1)

    2012-08-22 17:20:21 CEST DETAIL:  parameters: $1 = '{*,unauthenticated}', $2 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:21 CEST DEBUG:  parse <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:21 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:21 CEST LOG:  execute <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:21 CEST DETAIL:  parameters: $1 = '{*,unauthenticated}', $2 = 'read', $3 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:21 CEST DEBUG:  parse <unnamed>: SELECT "_inner_entity"."isDeleted", "_inner_entity"."longName", "_inner_entity"."isBlogEnabled", "_inner_entity"."description", "_inner_entity"."containerGUID", "_inner_entity"."createTime", "_inner_entity"."updatedByUserGUID", "_inner_entity"."revision", "_inner_entity"."shortName", "_inner_entity"."themeInfo", "_inner_entity"."ownerGUID", "_inner_entity"."ownerType", "_inner_entity"."type", "_inner_entity"."createdByUserGUID", "_inner_entity"."isHidden", "_inner_entity"."guid", "_inner_entity"."blogGUID", "_inner_entity"."tinyID", "_inner_entity"."parentGUIDs", "_inner_entity"."updateTime", "_inner_entity"."avatarGUID", "_inner_entity"."isPermanentlyDeleted", "_inner_entity"."isAuthenticated", "_inner_entity"."login", "_inner_entity"."externalID", "_inner_entity"."activityTime", "_inner_entity"."detailPageGUID", "_inner_entity"."tags", "_inner_entity"."extendedAttributes", "_inner_entity"."privateAttributes", "_inner_entity"."isFavorite", "_inner_entity"."isMyPage", "_inner_entity"."isWatched", ("_inner_entity"."_activity").action_time AS "lastActivityTime", ("_inner_entity"."_activity").user_uid_fk AS "lastActivityUserGUID", "_inner_entity"."tags" AS "tags" FROM (SELECT entity.is_deleted AS "isDeleted", entity.long_name AS "longName", entity.is_blog_enabled AS "isBlogEnabled", entity.description AS "description", entity.container_uid_fk AS "containerGUID", entity.create_time AS "createTime", entity.updatedby_user_fk AS "updatedByUserGUID", entity.revision AS "revision", entity.short_name AS "shortName", entity.theme_info AS "themeInfo", entity.ownedby_uid_fk AS "ownerGUID", entity.owner_entity_type_fk AS "ownerType", entity.entity_type_fk AS "type", entity.createdby_user_fk AS "createdByUserGUID", entity.is_hidden AS "isHidden", entity.uid AS "guid", entity.blog_uid_fk AS "blogGUID", entity.tiny_id AS "tinyID", entity.parent_uids AS "parentGUIDs", entity.update_time AS "updateTime", entity.avatar_uid_fk AS "avatarGUID", entity.is_perm_deleted AS "isPermanentlyDeleted", user_entity.is_authenticated AS "isAuthenticated", user_entity.login AS "login", user_entity.external_id AS "externalID", user_entity.activity_time AS "activityTime", user_entity.detail_page_fk AS "detailPageGUID", coalesce(entity_tag.tags,'{}') AS "tags", entity_attrs.attrs_bin AS "extendedAttributes", entity_private_attrs.attrs_bin AS "privateAttributes", NULL AS "isFavorite", NULL AS "isMyPage", NULL AS "isWatched",   (SELECT DISTINCT ON (user_uid_fk, action_time) ROW(user_uid_fk, action_time)::last_activity      FROM user_activity     WHERE user_uid_fk=entity.uid  ORDER BY user_uid_fk, action_time DESC     LIMIT 1) AS "_activity" FROM entity LEFT OUTER JOIN user_entity ON (user_entity.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_tag ON (entity_tag.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_attrs ON (entity_attrs.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_private_attrs ON (entity_private_attrs.entity_uid_fk=entity.uid) WHERE entity.uid=$1  AND true = (    WITH acls AS (      SELECT entity_uid_fk, array_agg(external_id) AS external_ids        FROM entity_acls       WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])         AND 'read' <= action    GROUP BY entity_uid_fk      HAVING array_length(array_agg(external_id), 1) > 0    ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC       LIMIT 1    )    SELECT true      FROM acls     WHERE external_ids && $2     LIMIT 1) AND NOT entity.is_perm_deleted AND NOT entity.is_deleted ) "_inner_entity"

    2012-08-22 17:20:21 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:21 CEST LOG:  execute <unnamed>: SELECT "_inner_entity"."isDeleted", "_inner_entity"."longName", "_inner_entity"."isBlogEnabled", "_inner_entity"."description", "_inner_entity"."containerGUID", "_inner_entity"."createTime", "_inner_entity"."updatedByUserGUID", "_inner_entity"."revision", "_inner_entity"."shortName", "_inner_entity"."themeInfo", "_inner_entity"."ownerGUID", "_inner_entity"."ownerType", "_inner_entity"."type", "_inner_entity"."createdByUserGUID", "_inner_entity"."isHidden", "_inner_entity"."guid", "_inner_entity"."blogGUID", "_inner_entity"."tinyID", "_inner_entity"."parentGUIDs", "_inner_entity"."updateTime", "_inner_entity"."avatarGUID", "_inner_entity"."isPermanentlyDeleted", "_inner_entity"."isAuthenticated", "_inner_entity"."login", "_inner_entity"."externalID", "_inner_entity"."activityTime", "_inner_entity"."detailPageGUID", "_inner_entity"."tags", "_inner_entity"."extendedAttributes", "_inner_entity"."privateAttributes", "_inner_entity"."isFavorite", "_inner_entity"."isMyPage", "_inner_entity"."isWatched", ("_inner_entity"."_activity").action_time AS "lastActivityTime", ("_inner_entity"."_activity").user_uid_fk AS "lastActivityUserGUID", "_inner_entity"."tags" AS "tags" FROM (SELECT entity.is_deleted AS "isDeleted", entity.long_name AS "longName", entity.is_blog_enabled AS "isBlogEnabled", entity.description AS "description", entity.container_uid_fk AS "containerGUID", entity.create_time AS "createTime", entity.updatedby_user_fk AS "updatedByUserGUID", entity.revision AS "revision", entity.short_name AS "shortName", entity.theme_info AS "themeInfo", entity.ownedby_uid_fk AS "ownerGUID", entity.owner_entity_type_fk AS "ownerType", entity.entity_type_fk AS "type", entity.createdby_user_fk AS "createdByUserGUID", entity.is_hidden AS "isHidden", entity.uid AS "guid", entity.blog_uid_fk AS "blogGUID", entity.tiny_id AS "tinyID", entity.parent_uids AS "parentGUIDs", entity.update_time AS "updateTime", entity.avatar_uid_fk AS "avatarGUID", entity.is_perm_deleted AS "isPermanentlyDeleted", user_entity.is_authenticated AS "isAuthenticated", user_entity.login AS "login", user_entity.external_id AS "externalID", user_entity.activity_time AS "activityTime", user_entity.detail_page_fk AS "detailPageGUID", coalesce(entity_tag.tags,'{}') AS "tags", entity_attrs.attrs_bin AS "extendedAttributes", entity_private_attrs.attrs_bin AS "privateAttributes", NULL AS "isFavorite", NULL AS "isMyPage", NULL AS "isWatched",   (SELECT DISTINCT ON (user_uid_fk, action_time) ROW(user_uid_fk, action_time)::last_activity      FROM user_activity     WHERE user_uid_fk=entity.uid  ORDER BY user_uid_fk, action_time DESC     LIMIT 1) AS "_activity" FROM entity LEFT OUTER JOIN user_entity ON (user_entity.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_tag ON (entity_tag.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_attrs ON (entity_attrs.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_private_attrs ON (entity_private_attrs.entity_uid_fk=entity.uid) WHERE entity.uid=$1  AND true = (    WITH acls AS (      SELECT entity_uid_fk, array_agg(external_id) AS external_ids        FROM entity_acls       WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])         AND 'read' <= action    GROUP BY entity_uid_fk      HAVING array_length(array_agg(external_id), 1) > 0    ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC       LIMIT 1    )    SELECT true      FROM acls     WHERE external_ids && $2     LIMIT 1) AND NOT entity.is_perm_deleted AND NOT entity.is_deleted ) "_inner_entity"

    2012-08-22 17:20:21 CEST DETAIL:  parameters: $1 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c', $2 = '{*,unauthenticated}'

    2012-08-22 17:20:21 CEST DEBUG:  parse <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:21 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:21 CEST LOG:  execute <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:21 CEST DETAIL:  parameters: $1 = '{*,unauthenticated}', $2 = 'own', $3 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:21 CEST LOG:  disconnection: session time: 0:00:00.028 user=collab database=collab host=[local]

    2012-08-22 17:20:21 CEST DEBUG:  server process (PID 19670) exited with exit code 0

    2012-08-22 17:20:21 CEST DEBUG:  forked new backend, pid=19671 socket=9

    2012-08-22 17:20:21 CEST LOG:  connection received: host=[local]

    2012-08-22 17:20:21 CEST LOG:  connection authorized: user=collab database=collab

    2012-08-22 17:20:21 CEST LOG:  statement: SELECT '{}'::text[], hstore('a','b')

    2012-08-22 17:20:21 CEST DEBUG:  parse <unnamed>: SELECT value_bin FROM global_settings WHERE key=$1

    2012-08-22 17:20:21 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:21 CEST LOG:  execute <unnamed>: SELECT value_bin FROM global_settings WHERE key=$1

    2012-08-22 17:20:21 CEST DETAIL:  parameters: $1 = 'projectCreators'

    2012-08-22 17:20:21 CEST LOG:  disconnection: session time: 0:00:00.005 user=collab database=collab host=[local]

    2012-08-22 17:20:21 CEST DEBUG:  server process (PID 19671) exited with exit code 0

    2012-08-22 17:20:21 CEST DEBUG:  postmaster received signal 15

    2012-08-22 17:20:21 CEST LOG:  received smart shutdown request

    2012-08-22 17:20:21 CEST LOG:  autovacuum launcher shutting down

    2012-08-22 17:20:21 CEST LOG:  shutting down

    2012-08-22 17:20:21 CEST DEBUG:  attempting to remove WAL segments older than log file 000000010000000000000001

    2012-08-22 17:20:21 CEST LOG:  database system is shut down

    2012-08-22 17:20:21 CEST DEBUG:  logger shutting down

    2012-08-22 17:20:23 CEST LOG:  database system was shut down at 2012-08-22 17:20:21 CEST

    2012-08-22 17:20:23 CEST DEBUG:  checkpoint record is at 0/2C66148

    2012-08-22 17:20:23 CEST DEBUG:  redo record is at 0/2C66148; shutdown TRUE

    2012-08-22 17:20:23 CEST DEBUG:  next transaction ID: 0/3622; next OID: 35768

    2012-08-22 17:20:23 CEST DEBUG:  next MultiXactId: 1; next MultiXactOffset: 0

    2012-08-22 17:20:23 CEST DEBUG:  oldest unfrozen transaction ID: 985, in database 1

    2012-08-22 17:20:23 CEST DEBUG:  transaction ID wrap limit is 2147484632, limited by database with OID 1

    2012-08-22 17:20:23 CEST LOG:  autovacuum launcher started

    2012-08-22 17:20:23 CEST LOG:  database system is ready to accept connections

    2012-08-22 17:20:24 CEST DEBUG:  forked new backend, pid=19745 socket=9

    2012-08-22 17:20:24 CEST LOG:  connection received: host=[local]

    2012-08-22 17:20:24 CEST LOG:  connection authorized: user=_devicemgr database=device_management

    2012-08-22 17:20:24 CEST LOG:  statement: set client_encoding to 'UTF8'

    2012-08-22 17:20:24 CEST LOG:  statement: SHOW client_min_messages

    2012-08-22 17:20:24 CEST LOG:  statement: SET client_min_messages TO 'panic'

    2012-08-22 17:20:24 CEST LOG:  statement: SET standard_conforming_strings = on

    2012-08-22 17:20:24 CEST LOG:  statement: SET client_min_messages TO 'notice'

    2012-08-22 17:20:24 CEST LOG:  statement: SHOW search_path

    2012-08-22 17:20:24 CEST LOG:  statement:           SELECT tablename

                          FROM pg_tables

                         WHERE schemaname IN ('"$user"','public')

     

    2012-08-22 17:20:24 CEST LOG:  statement: BEGIN

    2012-08-22 17:20:24 CEST LOG:  statement: SELECT * FROM "settings"  LIMIT 1

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"settings"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement: SELECT * FROM "settings"

    2012-08-22 17:20:24 CEST LOG:  statement: UPDATE "settings" SET "knob_sets_enabled" = '--- {}

     

              ' WHERE "id" = 1

    2012-08-22 17:20:24 CEST LOG:  statement: COMMIT

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"device_groups"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"devices"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"members_profiles"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"user_groups"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"users"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"ad_cert_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"apn_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"cal_dav_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"cal_sub_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"card_dav_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"certificate_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"cfprefs_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"directory_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"dock_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"email_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"energy_saver_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"exchange_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"general_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"ichat_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"identification_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"interface_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"knob_sets_profiles"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"ldap_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"login_item_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"login_window_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"mac_restrictions_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"mcx_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"mobility_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"parental_controls_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"passcode_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"printing_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"privacy_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"restrictions_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"scep_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"software_update_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"vpn_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"web_clip_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:24 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"wifi_knob_sets"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:25 CEST LOG:  statement: BEGIN ISOLATION LEVEL SERIALIZABLE

    2012-08-22 17:20:25 CEST LOG:  statement: SELECT * FROM "settings"  LIMIT 1

    2012-08-22 17:20:25 CEST LOG:  statement: SELECT * FROM "settings"

    2012-08-22 17:20:25 CEST LOG:  statement: UPDATE "settings" SET "knob_sets_enabled" = '--- {}

     

              ' WHERE "id" = 1

    2012-08-22 17:20:25 CEST LOG:  statement: SELECT * FROM "profiles" WHERE ("profiles"."is_from_servermgr" = 't' AND "profiles"."deleted" = 'f')  LIMIT 1

    2012-08-22 17:20:25 CEST LOG:  statement:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull

                            FROM pg_attribute a LEFT JOIN pg_attrdef d

                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum

                           WHERE a.attrelid = '"profiles"'::regclass

                             AND a.attnum > 0 AND NOT a.attisdropped

                           ORDER BY a.attnum

     

    2012-08-22 17:20:25 CEST LOG:  statement: SHOW max_identifier_length

    2012-08-22 17:20:25 CEST LOG:  statement: SELECT count(*) AS count_all FROM knob_sets_profiles  JOIN profiles polymorphic_parent ON knob_sets_profiles.profile_id = polymorphic_parent.id LEFT JOIN ad_cert_knob_sets ON knob_sets_profiles.knob_set_id = ad_cert_knob_sets.id AND knob_sets_profiles.knob_set_type = 'AdCertKnobSet' LEFT JOIN apn_knob_sets ON knob_sets_profiles.knob_set_id = apn_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ApnKnobSet' LEFT JOIN cal_dav_knob_sets ON knob_sets_profiles.knob_set_id = cal_dav_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CalDavKnobSet' LEFT JOIN cal_sub_knob_sets ON knob_sets_profiles.knob_set_id = cal_sub_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CalSubKnobSet' LEFT JOIN card_dav_knob_sets ON knob_sets_profiles.knob_set_id = card_dav_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CardDavKnobSet' LEFT JOIN certificate_knob_sets ON knob_sets_profiles.knob_set_id = certificate_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CertificateKnobSet' LEFT JOIN cfprefs_knob_sets ON knob_sets_profiles.knob_set_id = cfprefs_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CfprefsKnobSet' LEFT JOIN directory_knob_sets ON knob_sets_profiles.knob_set_id = directory_knob_sets.id AND knob_sets_profiles.knob_set_type = 'DirectoryKnobSet' LEFT JOIN dock_knob_sets ON knob_sets_profiles.knob_set_id = dock_knob_sets.id AND knob_sets_profiles.knob_set_type = 'DockKnobSet' LEFT JOIN email_knob_sets ON knob_sets_profiles.knob_set_id = email_knob_sets.id AND knob_sets_profiles.knob_set_type = 'EmailKnobSet' LEFT JOIN energy_saver_knob_sets ON knob_sets_profiles.knob_set_id = energy_saver_knob_sets.id AND knob_sets_profiles.knob_set_type = 'EnergySaverKnobSet' LEFT JOIN exchange_knob_sets ON knob_sets_profiles.knob_set_id = exchange_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ExchangeKnobSet' LEFT JOIN general_knob_sets ON knob_sets_profiles.knob_set_id = general_knob_sets.id AND knob_sets_profiles.knob_set_type = 'GeneralKnobSet' LEFT JOIN ichat_knob_sets ON knob_sets_profiles.knob_set_id = ichat_knob_sets.id AND knob_sets_profiles.knob_set_type = 'IchatKnobSet' LEFT JOIN ldap_knob_sets ON knob_sets_profiles.knob_set_id = ldap_knob_sets.id AND knob_sets_profiles.knob_set_type = 'LdapKnobSet' LEFT JOIN login_item_knob_sets ON knob_sets_profiles.knob_set_id = login_item_knob_sets.id AND knob_sets_profiles.knob_set_type = 'LoginItemKnobSet' LEFT JOIN login_window_knob_sets ON knob_sets_profiles.knob_set_id = login_window_knob_sets.id AND knob_sets_profiles.knob_set_type = 'LoginWindowKnobSet' LEFT JOIN mac_restrictions_knob_sets ON knob_sets_profiles.knob_set_id = mac_restrictions_knob_sets.id AND knob_sets_profiles.knob_set_type = 'MacRestrictionsKnobSet' LEFT JOIN mcx_knob_sets ON knob_sets_profiles.knob_set_id = mcx_knob_sets.id AND knob_sets_profiles.knob_set_type = 'McxKnobSet' LEFT JOIN mobility_knob_sets ON knob_sets_profiles.knob_set_id = mobility_knob_sets.id AND knob_sets_profiles.knob_set_type = 'MobilityKnobSet' LEFT JOIN interface_knob_sets ON knob_sets_profiles.knob_set_id = interface_knob_sets.id AND knob_sets_profiles.knob_set_type = 'InterfaceKnobSet' LEFT JOIN parental_controls_knob_sets ON knob_sets_profiles.knob_set_id = parental_controls_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ParentalControlsKnobSet' LEFT JOIN passcode_knob_sets ON knob_sets_profiles.knob_set_id = passcode_knob_sets.id AND knob_sets_profiles.knob_set_type = 'PasscodeKnobSet' LEFT JOIN printing_knob_sets ON knob_sets_profiles.knob_set_id = printing_knob_sets.id AND knob_sets_profiles.knob_set_type = 'PrintingKnobSet' LEFT JOIN privacy_knob_sets ON knob_sets_profiles.knob_set_id = privacy_knob_sets.id AND knob_sets_profiles.knob_set_type = 'PrivacyKnobSet' LEFT JOIN restrictions_knob_sets ON knob_sets_profiles.knob_set_id = restrictions_knob_sets.id AND knob_sets_profiles.knob_set_type = 'RestrictionsKnobSet' LEFT JOIN scep_knob_sets ON knob_sets_profiles.knob_set_id = scep_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ScepKnobSet' LEFT JOIN software_update_knob_sets ON knob_sets_profiles.knob_set_id = software_update_knob_sets.id AND knob_sets_profiles.knob_set_type = 'SoftwareUpdateKnobSet' LEFT JOIN vpn_knob_sets ON knob_sets_profiles.knob_set_id = vpn_knob_sets.id AND knob_sets_profiles.knob_set_type = 'VpnKnobSet' LEFT JOIN web_clip_knob_sets ON knob_sets_profiles.knob_set_id = web_clip_knob_sets.id AND knob_sets_profiles.knob_set_type = 'WebClipKnobSet' LEFT JOIN wifi_knob_sets ON knob_sets_profiles.knob_set_id = wifi_knob_sets.id AND knob_sets_profiles.knob_set_type = 'WifiKnobSet' LEFT JOIN identification_knob_sets ON knob_sets_profiles.knob_set_id = identification_knob_sets.id AND knob_sets_profiles.knob_set_type = 'IdentificationKnobSet'  WHERE ((knob_sets_profiles.profile_id = 1))

    2012-08-22 17:20:25 CEST LOG:  statement: SELECT "users".* FROM "users"  INNER JOIN "members_profiles" ON "users".id = "members_profiles".member_id AND "members_profiles".member_type = 'User'   WHERE (("members_profiles".profile_id = 1))

    2012-08-22 17:20:25 CEST LOG:  statement: SELECT "devices".* FROM "devices"  INNER JOIN "members_profiles" ON "devices".id = "members_profiles".member_id AND "members_profiles".member_type = 'Device'   WHERE (("members_profiles".profile_id = 1))

    2012-08-22 17:20:25 CEST LOG:  statement: SELECT "user_groups".* FROM "user_groups"  INNER JOIN "members_profiles" ON "user_groups".id = "members_profiles".member_id AND "members_profiles".member_type = 'UserGroup'   WHERE (("members_profiles".profile_id = 1))

    2012-08-22 17:20:25 CEST LOG:  statement: SELECT "device_groups".* FROM "device_groups"  INNER JOIN "members_profiles" ON "device_groups".id = "members_profiles".member_id AND "members_profiles".member_type = 'DeviceGroup'   WHERE (("members_profiles".profile_id = 1))

    2012-08-22 17:20:25 CEST LOG:  statement: SELECT "general_knob_sets".* FROM "general_knob_sets"  INNER JOIN "knob_sets_profiles" ON "general_knob_sets".id = "knob_sets_profiles".knob_set_id AND "knob_sets_profiles".knob_set_type = 'GeneralKnobSet'   WHERE (("knob_sets_profiles".profile_id = 1))

    2012-08-22 17:20:25 CEST LOG:  statement: SELECT 'Profile' AS polymorphic_parent_class, 'knob_sets' AS polymorphic_association_id, "ad_cert_knob_sets"."CertServer" AS t0_r12, "ad_cert_knob_sets"."CertTemplate" AS t0_r13, "ad_cert_knob_sets"."CertificateAcquisitionMechanism" AS t0_r16, "ad_cert_knob_sets"."CertificateAuthority" AS t0_r15, "ad_cert_knob_sets"."Description" AS t0_r14, "ad_cert_knob_sets"."Password" AS t0_r19, "ad_cert_knob_sets"."PayloadDisplayName" AS t0_r9, "ad_cert_knob_sets"."PayloadEnabled" AS t0_r10, "ad_cert_knob_sets"."PayloadUUID" AS t0_r8, "ad_cert_knob_sets"."PayloadVersion" AS t0_r7, "ad_cert_knob_sets"."PromptForCredentials" AS t0_r17, "ad_cert_knob_sets"."UserName" AS t0_r18, "ad_cert_knob_sets"."admin_session" AS t0_r2, "ad_cert_knob_sets"."created_at" AS t0_r5, "ad_cert_knob_sets"."deleted" AS t0_r4, "ad_cert_knob_sets"."id" AS t0_r0, "ad_cert_knob_sets"."is_from_servermgr" AS t0_r11, "ad_cert_knob_sets"."last_modified_guid" AS t0_r1, "ad_cert_knob_sets"."temporary_id" AS t0_r3, "ad_cert_knob_sets"."updated_at" AS t0_r6, "apn_knob_sets"."PayloadContent" AS t1_r12, "apn_knob_sets"."PayloadDisplayName" AS t1_r9, "apn_knob_sets"."PayloadEnabled" AS t1_r10, "apn_knob_sets"."PayloadUUID" AS t1_r8, "apn_knob_sets"."PayloadVersion" AS t1_r7, "apn_knob_sets"."admin_session" AS t1_r2, "apn_knob_sets"."created_at" AS t1_r5, "apn_knob_sets"."deleted" AS t1_r4, "apn_knob_sets"."id" AS t1_r0, "apn_knob_sets"."is_from_servermgr" AS t1_r11, "apn_knob_sets"."last_modified_guid" AS t1_r1, "apn_knob_sets"."temporary_id" AS t1_r3, "apn_knob_sets"."updated_at" AS t1_r6, "cal_dav_knob_sets"."CalDAVAccountDescription" AS t2_r12, "cal_dav_knob_sets"."CalDAVHostName" AS t2_r13, "cal_dav_knob_sets"."CalDAVPassword" AS t2_r15, "cal_dav_knob_sets"."CalDAVPort" AS t2_r17, "cal_dav_knob_sets"."CalDAVPrincipalURL" AS t2_r18, "cal_dav_knob_sets"."CalDAVUseSSL" AS t2_r16, "cal_dav_knob_sets"."CalDAVUsername" AS t2_r14, "cal_dav_knob_sets"."PayloadDisplayName" AS t2_r9, "cal_dav_knob_sets"."PayloadEnabled" AS t2_r10, "cal_dav_knob_sets"."PayloadUUID" AS t2_r8, "cal_dav_knob_sets"."PayloadVersion" AS t2_r7, "cal_dav_knob_sets"."admin_session" AS t2_r2, "cal_dav_knob_sets"."created_at" AS t2_r5, "cal_dav_knob_sets"."deleted" AS t2_r4, "cal_dav_knob_sets"."id" AS t2_r0, "cal_dav_knob_sets"."is_from_servermgr" AS t2_r11, "cal_dav_knob_sets"."last_modified_guid" AS t2_r1, "cal_dav_knob_sets"."temporary_id" AS t2_r3, "cal_dav_knob_sets"."updated_at" AS t2_r6, "cal_sub_knob_sets"."PayloadDisplayName" AS t3_r9, "cal_sub_knob_sets"."PayloadEnabled" AS t3_r10, "cal_sub_knob_sets"."PayloadUUID" AS t3_r8, "cal_sub_knob_sets"."PayloadVersion" AS t3_r7, "cal_sub_knob_sets"."SubCalAccountDescription" AS t3_r12, "cal_sub_knob_sets"."SubCalAccountHostName" AS t3_r13, "cal_sub_knob_sets"."SubCalAccountPassword" AS t3_r15, "cal_sub_knob_sets"."SubCalAccountUseSSL" AS t3_r16, "cal_sub_knob_sets"."SubCalAccountUsername" AS t3_r14, "cal_sub_knob_sets"."admin_session" AS t3_r2, "cal_sub_knob_sets"."created_at" AS t3_r5, "cal_sub_knob_sets"."deleted" AS t3_r4, "cal_sub_knob_sets"."id" AS t3_r0, "cal_sub_knob_sets"."is_from_servermgr" AS t3_r11, "cal_sub_knob_sets"."last_modified_guid" AS t3_r1, "cal_sub_knob_sets"."temporary_id" AS t3_r3, "cal_sub_knob_sets"."updated_at" AS t3_r6, "card_dav_knob_sets"."CardDAVAccountDescription" AS t4_r12, "card_dav_knob_sets"."CardDAVHostName" AS t4_r13, "card_dav_knob_sets"."CardDAVPassword" AS t4_r15, "card_dav_knob_sets"."CardDAVPort" AS t4_r17, "card_dav_knob_sets"."CardDAVPrincipalURL" AS t4_r18, "card_dav_knob_sets"."CardDAVUseSSL" AS t4_r16, "card_dav_knob_sets"."CardDAVUsername" AS t4_r14, "card_dav_knob_sets"."PayloadDisplayName" AS t4_r9, "card_dav_knob_sets"."PayloadEnabled" AS t4_r10, "card_dav_knob_sets"."PayloadUUID" AS t4_r8, "card_dav_knob_sets"."PayloadVersion" AS t4_r7, "card_dav_knob_sets"."admin_session" AS t4_r2, "card_dav_knob_sets"."created_at" AS t4_r5, "card_dav_knob_sets"."deleted" AS t4_r4, "card_dav_knob_sets"."id" AS t4_r0, "card_dav_knob_sets"."is_from_servermgr" AS t4_r11, "card_dav_knob_sets"."last_modified_guid" AS t4_r1, "card_dav_knob_sets"."temporary_id" AS t4_r3, "card_dav_knob_sets"."updated_at" AS t4_r6, "certificate_knob_sets"."Password" AS t5_r13, "certificate_knob_sets"."PayloadCertificateFileName" AS t5_r12, "certificate_knob_sets"."PayloadDisplayName" AS t5_r9, "certificate_knob_sets"."PayloadEnabled" AS t5_r10, "certificate_knob_sets"."PayloadUUID" AS t5_r8, "certificate_knob_sets"."PayloadVersion" AS t5_r7, "certificate_knob_sets"."admin_session" AS t5_r2, "certificate_knob_sets"."created_at" AS t5_r5, "certificate_knob_sets"."deleted" AS t5_r4, "certificate_knob_sets"."id" AS t5_r0, "certificate_knob_sets"."internal_use_flag_certificate_type" AS t5_r14, "certificate_knob_sets"."is_from_servermgr" AS t5_r11, "certificate_knob_sets"."last_modified_guid" AS t5_r1, "certificate_knob_sets"."temporary_id" AS t5_r3, "certificate_knob_sets"."updated_at" AS t5_r6, "cfprefs_knob_sets"."PayloadDisplayName" AS t6_r9, "cfprefs_knob_sets"."PayloadEnabled" AS t6_r10, "cfprefs_knob_sets"."PayloadUUID" AS t6_r8, "cfprefs_knob_sets"."PayloadVersion" AS t6_r7, "cfprefs_knob_sets"."admin_session" AS t6_r2, "cfprefs_knob_sets"."created_at" AS t6_r5, "cfprefs_knob_sets"."deleted" AS t6_r4, "cfprefs_knob_sets"."domain" AS t6_r12, "cfprefs_knob_sets"."id" AS t6_r0, "cfprefs_knob_sets"."is_from_servermgr" AS t6_r11, "cfprefs_knob_sets"."last_modified_guid" AS t6_r1, "cfprefs_knob_sets"."root" AS t6_r13, "cfprefs_knob_sets"."temporary_id" AS t6_r3, "cfprefs_knob_sets"."updated_at" AS t6_r6, "directory_knob_sets"."ClientID" AS t7_r16, "directory_knob_sets"."HostName" AS t7_r13, "directory_knob_sets"."Password" AS t7_r15, "directory_knob_sets"."PayloadDisplayName" AS t7_r9, "directory_knob_sets"."PayloadEnabled" AS t7_r10, "directory_knob_sets"."PayloadType" AS t7_r12, "directory_knob_sets"."PayloadUUID" AS t7_r8, "directory_knob_sets"."PayloadVersion" AS t7_r7, "directory_knob_sets"."UserName" AS t7_r14, "directory_knob_sets"."admin_session" AS t7_r2, "directory_knob_sets"."created_at" AS t7_r5, "directory_knob_sets"."deleted" AS t7_r4, "directory_knob_sets"."id" AS t7_r0, "directory_knob_sets"."is_from_servermgr" AS t7_r11, "directory_knob_sets"."last_modified_guid" AS t7_r1, "directory_knob_sets"."temporary_id" AS t7_r3, "directory_knob_sets"."updated_at" AS t7_r6, "dock_knob_sets"."MCXDockSpecialFolders" AS t8_r22, "dock_knob_sets"."PayloadDisplayName" AS t8_r9, "dock_knob_sets"."PayloadEnabled" AS t8_r10, "dock_knob_sets"."PayloadUUID" AS t8_r8, "dock_knob_sets"."PayloadVersion" AS t8_r7, "dock_knob_sets"."admin_session" AS t8_r2, "dock_knob_sets"."autohide" AS t8_r12, "dock_knob_sets"."autohide_immutable" AS t8_r13, "dock_knob_sets"."contents_immutable" AS t8_r14, "dock_knob_sets"."created_at" AS t8_r5, "dock_knob_sets"."deleted" AS t8_r4, "dock_knob_sets"."dockItems" AS t8_r15, "dock_knob_sets"."id" AS t8_r0, "dock_knob_sets"."is_from_servermgr" AS t8_r11, "dock_knob_sets"."largesize" AS t8_r16, "dock_knob_sets"."last_modified_guid" AS t8_r1, "dock_knob_sets"."launchanim" AS t8_r17, "dock_knob_sets"."launchanim_immutable" AS t8_r18, "dock_knob_sets"."magnification" AS t8_r19, "dock_knob_sets"."magnify_immutable" AS t8_r20, "dock_knob_sets"."magsize_immutable" AS t8_r21, "dock_knob_sets"."mineffect" AS t8_r27, "dock_knob_sets"."mineffect_immutable" AS t8_r28, "dock_knob_sets"."minimize_to_application" AS t8_r25, "dock_knob_sets"."minimize_to_application_immutable" AS t8_r26, "dock_knob_sets"."orientation" AS t8_r29, "dock_knob_sets"."position_immutable" AS t8_r30, "dock_knob_sets"."show_process_indicators" AS t8_r23, "dock_knob_sets"."show_process_indicators_immutable" AS t8_r24, "dock_knob_sets"."size_immutable" AS t8_r32, "dock_knob_sets"."static_only" AS t8_r33, "dock_knob_sets"."temporary_id" AS t8_r3, "dock_knob_sets"."tilesize" AS t8_r31, "dock_knob_sets"."updated_at" AS t8_r6, "email_knob_sets"."EmailAccountDescription" AS t9_r12, "email_knob_sets"."EmailAccountName" AS t9_r13, "email_knob_sets"."EmailAccountType" AS t9_r14, "email_knob_sets"."EmailAddress" AS t9_r15, "email_knob_sets"."EmailDomain" AS t9_r16, "email_knob_sets"."IncomingMailServerAuthentication" AS t9_r17, "email_knob_sets"."IncomingMailServerHostName" AS t9_r18, "email_knob_sets"."IncomingMailServerIMAPPathPrefix" AS t9_r30, "email_knob_sets"."IncomingMailServerPortNumber" AS t9_r19, "email_knob_sets"."IncomingMailServerUseSSL" AS t9_r20, "email_knob_sets"."IncomingMailServerUsername" AS t9_r21, "email_knob_sets"."IncomingPassword" AS t9_r22, "email_knob_sets"."OutgoingMailServerAuthentication" AS t9_r23, "email_knob_sets"."OutgoingMailServerHostName" AS t9_r24, "email_knob_sets"."OutgoingMailServerPortNumber" AS t9_r25, "email_knob_sets"."OutgoingMailServerUseSSL" AS t9_r26, "email_knob_sets"."OutgoingMailServerUsername" AS t9_r27, "email_knob_sets"."OutgoingPassword" AS t9_r28, "email_knob_sets"."OutgoingPasswordSameAsIncomingPassword" AS t9_r29, "email_knob_sets"."PayloadDisplayName" AS t9_r9, "email_knob_sets"."PayloadEnabled" AS t9_r10, "email_knob_sets"."PayloadUUID" AS t9_r8, "email_knob_sets"."PayloadVersion" AS t9_r7, "email_knob_sets"."PreventAppSheet" AS t9_r32, "email_knob_sets"."PreventMove" AS t9_r31, "email_knob_sets"."SMIMEEnabled" AS t9_r33, "email_knob_sets"."SMIMEEncryptionEnabled" AS t9_r34, "email_knob_sets"."SMIMESigningCertificateUUID" AS t9_r35, "email_knob_sets"."admin_session" AS t9_r2, "email_knob_sets"."created_at" AS t9_r5, "email_knob_sets"."deleted" AS t9_r4, "email_knob_sets"."id" AS t9_r0, "email_knob_sets"."is_from_servermgr" AS t9_r11, "email_knob_sets"."last_modified_guid" AS t9_r1, "email_knob_sets"."temporary_id" AS t9_r3, "email_knob_sets"."updated_at" AS t9_r6, "energy_saver_knob_sets"."PayloadDisplayName" AS t10_r9, "energy_saver_knob_sets"."PayloadEnabled" AS t10_r10, "energy_saver_knob_sets"."PayloadUUID" AS t10_r8, "energy_saver_knob_sets"."PayloadVersion" AS t10_r7, "energy_saver_knob_sets"."admin_session" AS t10_r2, "energy_saver_knob_sets"."com_apple_EnergySaver__ShowMenuBarBattery" AS t10_r18, "energy_saver_knob_sets"."com_apple_EnergySaver_desktop_ACPower" AS t10_r15, "energy_saver_knob_sets"."com_apple_EnergySaver_desktop_ACPower__ProfileNumber" AS t10_r12, "energy_saver_knob_sets"."com_apple_EnergySaver_desktop_Schedule" AS t10_r19, "energy_saver_knob_sets"."com_apple_EnergySaver_portable_ACPower" AS t10_r16, "energy_saver_knob_sets"."com_apple_EnergySaver_portable_ACPower__ProfileNumber " AS t10_r13, "energy_saver_knob_sets"."com_apple_EnergySaver_portable_BatteryPower" AS t10_r17, "energy_saver_knob_sets"."com_apple_EnergySaver_portable_BatteryPower__ProfileN umber" AS t10_r14, "energy_saver_knob_sets"."created_at" AS t10_r5, "energy_saver_knob_sets"."deleted" AS t10_r4, "energy_saver_knob_sets"."id" AS t10_r0, "energy_saver_knob_sets"."is_from_servermgr" AS t10_r11, "energy_saver_knob_sets"."last_modified_guid" AS t10_r1, "energy_saver_knob_sets"."temporary_id" AS t10_r3, "energy_saver_knob_sets"."updated_at" AS t10_r6, "exchange_knob_sets"."Certificate" AS t11_r18, "exchange_knob_sets"."CertificateName" AS t11_r19, "exchange_knob_sets"."CertificatePassword" AS t11_r20, "exchange_knob_sets"."EmailAddress" AS t11_r13, "exchange_knob_sets"."ExternalHost" AS t11_r24, "exchange_knob_sets"."ExternalPath" AS t11_r26, "exchange_knob_sets"."ExternalPort" AS t11_r27, "exchange_knob_sets"."ExternalSSL" AS t11_r25, "exchange_knob_sets"."Host" AS t11_r14, "exchange_knob_sets"."MailNumberOfPastDaysToSync" AS t11_r21, "exchange_knob_sets"."Password" AS t11_r17, "exchange_knob_sets"."Path" AS t11_r22, "exchange_knob_sets"."PayloadDisplayName" AS t11_r9, "exchange_knob_sets"."PayloadEnabled" AS t11_r10, "exchange_knob_sets"."PayloadUUID" AS t11_r8, "exchange_knob_sets"."PayloadVersion" AS t11_r7, "exchange_knob_sets"."Port" AS t11_r23, "exchange_knob_sets"."PreventAppSheet" AS t11_r29, "exchange_knob_sets"."PreventMove" AS t11_r28, "exchange_knob_sets"."SSL" AS t11_r15, "exchange_knob_sets"."UserName" AS t11_r16, "exchange_knob_sets"."admin_session" AS t11_r2, "exchange_knob_sets"."created_at" AS t11_r5, "exchange_knob_sets"."deleted" AS t11_r4, "exchange_knob_sets"."id" AS t11_r0, "exchange_knob_sets"."is_from_servermgr" AS t11_r11, "exchange_knob_sets"."last_modified_guid" AS t11_r1, "exchange_knob_sets"."payload_type" AS t11_r12, "exchange_knob_sets"."temporary_id" AS t11_r3, "exchange_knob_sets"."updated_at" AS t11_r6, "general_knob_sets"."PayloadDisplayName" AS t12_r9, "general_knob_sets"."PayloadEnabled" AS t12_r10, "general_knob_sets"."PayloadUUID" AS t12_r8, "general_knob_sets"."PayloadVersion" AS t12_r7, "general_knob_sets"."admin_session" AS t12_r2, "general_knob_sets"."created_at" AS t12_r5, "general_knob_sets"."deleted" AS t12_r4, "general_knob_sets"."description" AS t12_r13, "general_knob_sets"."id" AS t12_r0, "general_knob_sets"."is_from_servermgr" AS t12_r11, "general_knob_sets"."last_modified_guid" AS t12_r1, "general_knob_sets"."organization" AS t12_r12, "general_knob_sets"."password" AS t12_r15, "general_knob_sets"."security" AS t12_r14, "general_knob_sets"."temporary_id" AS t12_r3, "general_knob_sets"."updated_at" AS t12_r6, "ichat_knob_sets"."AIMAccountDescription" AS t13_r20, "ichat_knob_sets"."AIMAuthentication" AS t13_r26, "ichat_knob_sets"."AIMHostName" AS t13_r21, "ichat_knob_sets"."AIMPassword" AS t13_r25, "ichat_knob_sets"."AIMPort" AS t13_r22, "ichat_knob_sets"."AIMUseSSL" AS t13_r23, "ichat_knob_sets"."AIMUserName" AS t13_r24, "ichat_knob_sets"."JabberAccountDescription" AS t13_r13, "ichat_knob_sets"."JabberAuthentication" AS t13_r19, "ichat_knob_sets"."JabberHostName" AS t13_r14, "ichat_knob_sets"."JabberPassword" AS t13_r18, "ichat_knob_sets"."JabberPort" AS t13_r15, "ichat_knob_sets"."JabberUseSSL" AS t13_r16, "ichat_knob_sets"."JabberUserName" AS t13_r17, "ichat_knob_sets"."PayloadDisplayName" AS t13_r9, "ichat_knob_sets"."PayloadEnabled" AS t13_r10, "ichat_knob_sets"."PayloadType" AS t13_r12, "ichat_knob_sets"."PayloadUUID" AS t13_r8, "ichat_knob_sets"."PayloadVersion" AS t13_r7, "ichat_knob_sets"."SubNetAccountDescription" AS t13_r27, "ichat_knob_sets"."admin_session" AS t13_r2, "ichat_knob_sets"."created_at" AS t13_r5, "ichat_knob_sets"."deleted" AS t13_r4, "ichat_knob_sets"."id" AS t13_r0, "ichat_knob_sets"."is_from_servermgr" AS t13_r11, "ichat_knob_sets"."last_modified_guid" AS t13_r1, "ichat_knob_sets"."temporary_id" AS t13_r3, "ichat_knob_sets"."updated_at" AS t13_r6, "identification_knob_sets"."PayloadDisplayName" AS t14_r9, "identification_knob_sets"."PayloadEnabled" AS t14_r10, "identification_knob_sets"."PayloadIdentification" AS t14_r12, "identification_knob_sets"."PayloadUUID" AS t14_r8, "identification_knob_sets"."PayloadVersion" AS t14_r7, "identification_knob_sets"."admin_session" AS t14_r2, "identification_knob_sets"."created_at" AS t14_r5, "identification_knob_sets"."deleted" AS t14_r4, "identification_knob_sets"."id" AS t14_r0, "identification_knob_sets"."is_from_servermgr" AS t14_r11, "identification_knob_sets"."last_modified_guid" AS t14_r1, "identification_knob_sets"."temporary_id" AS t14_r3, "identification_knob_sets"."updated_at" AS t14_r6, "interface_knob_sets"."AuthenticationMethod" AS t15_r20, "interface_knob_sets"."AutoJoin" AS t15_r22, "interface_knob_sets"."DirectoryDomain" AS t15_r21, "interface_knob_sets"."EAPClientConfiguration" AS t15_r19, "interface_knob_sets"."EncryptionType" AS t15_r15, "interface_knob_sets"."HIDDEN_NETWORK" AS t15_r14, "interface_knob_sets"."Interface" AS t15_r12, "interface_knob_sets"."Password" AS t15_r16, "interface_knob_sets"."PayloadCertificateUUID" AS t15_r18, "interface_knob_sets"."PayloadDisplayName" AS t15_r9, "interface_knob_sets"."PayloadEnabled" AS t15_r10, "interface_knob_sets"."PayloadUUID" AS t15_r8, "interface_knob_sets"."PayloadVersion" AS t15_r7, "interface_knob_sets"."ProxyPACURL" AS t15_r28, "interface_knob_sets"."ProxyPassword" AS t15_r27, "interface_knob_sets"."ProxyServer" AS t15_r24, "interface_knob_sets"."ProxyServerPort" AS t15_r25, "interface_knob_sets"."ProxyType" AS t15_r23, "interface_knob_sets"."ProxyUsername" AS t15_r26, "interface_knob_sets"."SSID_STR" AS t15_r13, "interface_knob_sets"."SetupModes" AS t15_r17, "interface_knob_sets"."admin_session" AS t15_r2, "interface_knob_sets"."created_at" AS t15_r5, "interface_knob_sets"."deleted" AS t15_r4, "interface_knob_sets"."id" AS t15_r0, "interface_knob_sets"."is_from_servermgr" AS t15_r11, "interface_knob_sets"."last_modified_guid" AS t15_r1, "interface_knob_sets"."temporary_id" AS t15_r3, "interface_knob_sets"."updated_at" AS t15_r6, "knob_sets_profiles"."admin_session" AS t16_r2, "knob_sets_profiles"."created_at" AS t16_r5, "knob_sets_profiles"."deleted" AS t16_r4, "knob_sets_profiles"."id" AS t16_r0, "knob_sets_profiles"."knob_set_id" AS t16_r7, "knob_sets_profiles"."knob_set_type" AS t16_r8, "knob_sets_profiles"."last_modified_guid" AS t16_r1, "knob_sets_profiles"."profile_id" AS t16_r9, "knob_sets_profiles"."temporary_id" AS t16_r3, "knob_sets_profiles"."updated_at" AS t16_r6, "ldap_knob_sets"."LDAPAccountDescription" AS t17_r12, "ldap_knob_sets"."LDAPAccountHostName" AS t17_r13, "ldap_knob_sets"."LDAPAccountPassword" AS t17_r16, "ldap_knob_sets"."LDAPAccountUseSSL" AS t17_r14, "ldap_knob_sets"."LDAPAccountUserName" AS t17_r15, "ldap_knob_sets"."LDAPSearchSettings" AS t17_r17, "ldap_knob_sets"."PayloadDisplayName" AS t17_r9, "ldap_knob_sets"."PayloadEnabled" AS t17_r10, "ldap_knob_sets"."PayloadUUID" AS t17_r8, "ldap_knob_sets"."PayloadVersion" AS t17_r7, "ldap_knob_sets"."admin_session" AS t17_r2, "ldap_knob_sets"."created_at" AS t17_r5, "ldap_knob_sets"."deleted" AS t17_r4, "ldap_knob_sets"."id" AS t17_r0, "ldap_knob_sets"."is_from_servermgr" AS t17_r11, "ldap_knob_sets"."last_modified_guid" AS t17_r1, "ldap_knob_sets"."temporary_id" AS t17_r3, "ldap_knob_sets"."updated_at" AS t17_r6, "login_item_knob_sets"."DisableLoginItemsSuppression" AS t18_r13, "login_item_knob_sets"."LoginUserMayAddItems" AS t18_r12, "login_item_knob_sets"."PayloadDisplayName" AS t18_r9, "login_item_knob_sets"."PayloadEnabled" AS t18_r10, "login_item_knob_sets"."PayloadUUID" AS t18_r8, "login_item_knob_sets"."PayloadVersion" AS t18_r7, "login_item_knob_sets"."admin_session" AS t18_r2, "login_item_knob_sets"."created_at" AS t18_r5, "login_item_knob_sets"."deleted" AS t18_r4, "login_item_knob_sets"."files" AS t18_r15, "login_item_knob_sets"."hiddenApplicationIds" AS t18_r16, "login_item_knob_sets"."id" AS t18_r0, "login_item_knob_sets"."is_from_servermgr" AS t18_r11, "login_item_knob_sets"."last_modified_guid" AS t18_r1, "login_item_knob_sets"."mounts" AS t18_r14, "login_item_knob_sets"."temporary_id" AS t18_r3, "login_item_knob_sets"."updated_at" AS t18_r6, "login_window_knob_sets"."AdminHostInfo" AS t19_r12, "login_window_knob_sets"."AdminMayDisableMCX" AS t19_r25, "login_window_knob_sets"."AllowUserGroups" AS t19_r34, "login_window_knob_sets"."AllowUsers" AS t19_r33, "login_window_knob_sets"."AlwaysShowWorkgroupDialog" AS t19_r28, "login_window_knob_sets"."AutoLogOutDelay" AS t19_r38, "login_window_knob_sets"."CombineUserWorkgroups" AS t19_r29, "login_window_knob_sets"."DenyUserGroups" AS t19_r36, "login_window_knob_sets"."DenyUsers" AS t19_r35, "login_window_knob_sets"."DisableAutoLoginClient" AS t19_r23, "login_window_knob_sets"."DisableConsoleAccess" AS t19_r24, "login_window_knob_sets"."DisableGuestAccount" AS t19_r39, "login_window_knob_sets"."EnableExternalAccounts" AS t19_r27, "login_window_knob_sets"."FlattenUserWorkgroups" AS t19_r30, "login_window_knob_sets"."HideAdminUsers" AS t19_r18, "login_window_knob_sets"."HideLocalUsers" AS t19_r15, "login_window_knob_sets"."HideMobileAccounts" AS t19_r16, "login_window_knob_sets"."IncludeNetworkUser" AS t19_r17, "login_window_knob_sets"."LocalUserLoginEnabled" AS t19_r31, "login_window_knob_sets"."LocalUsersHaveWorkgroups" AS t19_r32, "login_window_knob_sets"."LoginwindowText" AS t19_r13, "login_window_knob_sets"."MultipleSessionEnabled" AS t19_r37, "login_window_knob_sets"."PayloadDisplayName" AS t19_r9, "login_window_knob_sets"."PayloadEnabled" AS t19_r10, "login_window_knob_sets"."PayloadUUID" AS t19_r8, "login_window_knob_sets"."PayloadVersion" AS t19_r7, "login_window_knob_sets"."RestartDisabled" AS t19_r20, "login_window_knob_sets"."RetriesUntilHint" AS t19_r22, "login_window_knob_sets"."SHOWFULLNAME" AS t19_r14, "login_window_knob_sets"."SHOWOTHERUSERS_MANAGED" AS t19_r19, "login_window_knob_sets"."ShutDownDisabled" AS t19_r21, "login_window_knob_sets"."UseComputerNameForComputerRecordName" AS t19_r26, "login_window_knob_sets"."admin_session" AS t19_r2, "login_window_knob_sets"."created_at" AS t19_r5, "login_window_knob_sets"."deleted" AS t19_r4, "login_window_knob_sets"."id" AS t19_r0, "login_window_knob_sets"."is_from_servermgr" AS t19_r11, "login_window_knob_sets"."last_modified_guid" AS t19_r1, "login_window_knob_sets"."loginWindowIdleTime" AS t19_r40, "login_window_knob_sets"."loginWindowModulePath" AS t19_r41, "login_window_knob_sets"."loginscripts_filedata" AS t19_r43, "login_window_knob_sets"."loginscripts_filename" AS t19_r42, "login_window_knob_sets"."logoutscripts_filedata" AS t19_r45, "login_window_knob_sets"."logoutscripts_filename" AS t19_r44, "login_window_knob_sets"."skipLoginHook" AS t19_r46, "login_window_knob_sets"."skipLogoutHook" AS t19_r47, "login_window_knob_sets"."temporary_id" AS t19_r3, "login_window_knob_sets"."updated_at" AS t19_r6, "mac_restrictions_knob_sets"."DisableAirDrop" AS t20_r31, "mac_restrictions_knob_sets"."EnabledPreferencePanes" AS t20_r36, "mac_restrictions_knob_sets"."PayloadDisplayName" AS t20_r9, "mac_restrictions_knob_sets"."PayloadEnabled" AS t20_r10, "mac_restrictions_knob_sets"."PayloadUUID" AS t20_r8, "mac_restrictions_knob_sets"."PayloadVersion" AS t20_r7, "mac_restrictions_knob_sets"."RestrictPrefPanes" AS t20_r37, "mac_restrictions_knob_sets"."admin_session" AS t20_r2, "mac_restrictions_knob_sets"."cd_allow" AS t20_r12, "mac_restrictions_knob_sets"."cd_auth" AS t20_r13, "mac_restrictions_knob_sets"."created_at" AS t20_r5, "mac_restrictions_knob_sets"."deleted" AS t20_r4, "mac_restrictions_knob_sets"."disk_image_allow" AS t20_r24, "mac_restrictions_knob_sets"."disk_image_auth" AS t20_r25, "mac_restrictions_knob_sets"."disk_image_read_only" AS t20_r26, "mac_restrictions_knob_sets"."dvd_allow" AS t20_r14, "mac_restrictions_knob_sets"."dvd_auth" AS t20_r15, "mac_restrictions_knob_sets"."dvd_ram_allow" AS t20_r27, "mac_restrictions_knob_sets"."dvd_ram_auth" AS t20_r28, "mac_restrictions_knob_sets"."dvd_ram_read_only" AS t20_r29, "mac_restrictions_knob_sets"."eject_at_logout" AS t20_r30, "mac_restrictions_knob_sets"."familyControlsEnabled" AS t20_r34, "mac_restrictions_knob_sets"."harddisk_external_allow" AS t20_r21, "mac_restrictions_knob_sets"."harddisk_external_auth" AS t20_r22, "mac_restrictions_knob_sets"."harddisk_external_read_only" AS t20_r23, "mac_restrictions_knob_sets"."harddisk_internal_allow" AS t20_r18, "mac_restrictions_knob_sets"."harddisk_internal_auth" AS t20_r19, "mac_restrictions_knob_sets"."harddisk_internal_read_only" AS t20_r20, "mac_restrictions_knob_sets"."id" AS t20_r0, "mac_restrictions_knob_sets"."is_from_servermgr" AS t20_r11, "mac_restrictions_knob_sets"."last_modified_guid" AS t20_r1, "mac_restrictions_knob_sets"."pathBlackList" AS t20_r33, "mac_restrictions_knob_sets"."pathWhiteList" AS t20_r32, "mac_restrictions_knob_sets"."recordable_allow" AS t20_r16, "mac_restrictions_knob_sets"."recordable_auth" AS t20_r17, "mac_restrictions_knob_sets"."temporary_id" AS t20_r3, "mac_restrictions_knob_sets"."updated_at" AS t20_r6, "mac_restrictions_knob_sets"."whiteListEnabled" AS t20_r35, "mcx_knob_sets"."PayloadDisplayName" AS t21_r9, "mcx_knob_sets"."PayloadEnabled" AS t21_r10, "mcx_knob_sets"."PayloadUUID" AS t21_r8, "mcx_knob_sets"."PayloadVersion" AS t21_r7, "mcx_knob_sets"."admin_session" AS t21_r2, "mcx_knob_sets"."created_at" AS t21_r5, "mcx_knob_sets"."deleted" AS t21_r4, "mcx_knob_sets"."id" AS t21_r0, "mcx_knob_sets"."is_from_servermgr" AS t21_r11, "mcx_knob_sets"."last_modified_guid" AS t21_r1, "mcx_knob_sets"."mcx_payload" AS t21_r12, "mcx_knob_sets"."temporary_id" AS t21_r3, "mcx_knob_sets"."updated_at" AS t21_r6, "mobility_knob_sets"."HomeSync_menu" AS t22_r41, "mobility_knob_sets"."PayloadDisplayName" AS t22_r9, "mobility_knob_sets"."PayloadEnabled" AS t22_r10, "mobility_knob_sets"."PayloadUUID" AS t22_r8, "mobility_knob_sets"."PayloadVersion" AS t22_r7, "mobility_knob_sets"."admin_session" AS t22_r2, "mobility_knob_sets"."cachedAccountsDeleteAfterMultiplier" AS t22_r25, "mobility_knob_sets"."cachedaccounts_WarnOnCreate_allowNever" AS t22_r12, "mobility_knob_sets"."cachedaccounts_create_encrypt" AS t22_r16, "mobility_knob_sets"."cachedaccounts_create_encrypt_requireMasterPassword" AS t22_r17, "mobility_knob_sets"."cachedaccounts_create_location" AS t22_r18, "mobility_knob_sets"."cachedaccounts_create_location_path" AS t22_r19, "mobility_knob_sets"."cachedaccounts_create_maxSize" AS t22_r20, "mobility_knob_sets"."cachedaccounts_create_maxSize_fixedSize" AS t22_r21, "mobility_knob_sets"."cachedaccounts_create_maxSize_percentOfNetworkHome" AS t22_r22, "mobility_knob_sets"."cachedaccounts_expiry_cond_successfulSync" AS t22_r24, "mobility_knob_sets"."cachedaccounts_expiry_delete_disusedSeconds" AS t22_r23, "mobility_knob_sets"."com_apple_cachedaccounts_CreateAtLogin" AS t22_r13, "mobility_knob_sets"."com_apple_cachedaccounts_CreatePHDAtLogin" AS t22_r14, "mobility_knob_sets"."com_apple_cachedaccounts_WarnOnCreate" AS t22_r15, "mobility_knob_sets"."created_at" AS t22_r5, "mobility_knob_sets"."deleted" AS t22_r4, "mobility_knob_sets"."excludedItems" AS t22_r32, "mobility_knob_sets"."excludedPrefItems" AS t22_r31, "mobility_knob_sets"."id" AS t22_r0, "mobility_knob_sets"."is_from_servermgr" AS t22_r11, "mobility_knob_sets"."last_modified_guid" AS t22_r1, "mobility_knob_sets"."periodicSyncOn" AS t22_r40, "mobility_knob_sets"."replaceUserPrefSyncList" AS t22_r30, "mobility_knob_sets"."replaceUserSyncList" AS t22_r37, "mobility_knob_sets"."syncBackgroundSetAtLogin" AS t22_r33, "mobility_knob_sets"."syncBackgroundSetAtLogout" AS t22_r34, "mobility_knob_sets"."syncBackgroundSetAtSyncNow" AS t22_r35, "mobility_knob_sets"."syncBackgroundSetInBackground" AS t22_r36, "mobility_knob_sets"."syncPeriodSeconds" AS t22_r42, "mobility_knob_sets"."syncPreferencesAtLogin" AS t22_r26, "mobility_knob_sets"."syncPreferencesAtLogout" AS t22_r27, "mobility_knob_sets"."syncPreferencesAtSyncNow" AS t22_r28, "mobility_knob_sets"."syncPreferencesInBackground" AS t22_r29, "mobility_knob_sets"."syncedFolders" AS t22_r39, "mobility_knob_sets"."syncedPrefFolders" AS t22_r38, "mobility_knob_sets"."temporary_id" AS t22_r3, "mobility_knob_sets"."updated_at" AS t22_r6, "parental_controls_knob_sets"."PayloadDisplayName" AS t23_r9, "parental_controls_knob_sets"."PayloadEnabled" AS t23_r10, "parental_controls_knob_sets"."PayloadUUID" AS t23_r8, "parental_controls_knob_sets"."PayloadVersion" AS t23_r7, "parental_controls_knob_sets"."admin_session" AS t23_r2, "parental_controls_knob_sets"."cerfewWeekdayEnabled" AS t23_r24, "parental_controls_knob_sets"."cerfewWeekdayFromAMPM" AS t23_r34, "parental_controls_knob_sets"."cerfewWeekdayFromHour" AS t23_r25, "parental_controls_knob_sets"."cerfewWeekdayFromMinute" AS t23_r26, "parental_controls_knob_sets"."cerfewWeekdayToAMPM" AS t23_r35, "parental_controls_knob_sets"."cerfewWeekdayToHour" AS t23_r27, "parental_controls_knob_sets"."cerfewWeekdayToMinute" AS t23_r28, "parental_controls_knob_sets"."cerfewWeekendEnabled" AS t23_r29, "parental_controls_knob_sets"."cerfewWeekendFromAMPM" AS t23_r36, "parental_controls_knob_sets"."cerfewWeekendFromHour" AS t23_r30, "parental_controls_knob_sets"."cerfewWeekendFromMinute" AS t23_r31, "parental_controls_knob_sets"."cerfewWeekendToAMPM" AS t23_r37, "parental_controls_knob_sets"."cerfewWeekendToHour" AS t23_r32, "parental_controls_knob_sets"."cerfewWeekendToMinute" AS t23_r33, "parental_controls_knob_sets"."created_at" AS t23_r5, "parental_controls_knob_sets"."deleted" AS t23_r4, "parental_controls_knob_sets"."enforceWeekdayTimeLimit" AS t23_r20, "parental_controls_knob_sets"."enforceWeekendTimeLimit" AS t23_r22, "parental_controls_knob_sets"."familyControlsEnabled" AS t23_r19, "parental_controls_knob_sets"."filterBlacklist" AS t23_r13, "parental_controls_knob_sets"."filterWhitelist" AS t23_r12, "parental_controls_knob_sets"."id" AS t23_r0, "parental_controls_knob_sets"."is_from_servermgr" AS t23_r11, "parental_controls_knob_sets"."last_modified_guid" AS t23_r1, "parental_controls_knob_sets"."parentalControl" AS t23_r16, "parental_controls_knob_sets"."restrictWeb" AS t23_r17, "parental_controls_knob_sets"."siteWhitelist" AS t23_r14, "parental_controls_knob_sets"."temporary_id" AS t23_r3, "parental_controls_knob_sets"."updated_at" AS t23_r6, "parental_controls_knob_sets"."useContentFilter" AS t23_r15, "parental_controls_knob_sets"."weekdayTimeLimit" AS t23_r21, "parental_controls_knob_sets"."weekendTimeLimit" AS t23_r23, "parental_controls_knob_sets"."whiteListEnabled" AS t23_r18, "passcode_knob_sets"."PayloadDisplayName" AS t24_r9, "passcode_knob_sets"."PayloadEnabled" AS t24_r10, "passcode_knob_sets"."PayloadUUID" AS t24_r8, "passcode_knob_sets"."PayloadVersion" AS t24_r7, "passcode_knob_sets"."admin_session" AS t24_r2, "passcode_knob_sets"."allowSimple" AS t24_r12, "passcode_knob_sets"."created_at" AS t24_r5, "passcode_knob_sets"."deleted" AS t24_r4, "passcode_knob_sets"."forcePIN" AS t24_r13, "passcode_knob_sets"."id" AS t24_r0, "passcode_knob_sets"."is_from_servermgr" AS t24_r11, "passcode_knob_sets"."last_modified_guid" AS t24_r1, "passcode_knob_sets"."maxFailedAttempts" AS t24_r14, "passcode_knob_sets"."maxGracePeriod" AS t24_r15, "passcode_knob_sets"."maxInactivity" AS t24_r16, "passcode_knob_sets"."maxPINAgeInDays" AS t24_r17, "passcode_knob_sets"."minComplexChars" AS t24_r18, "passcode_knob_sets"."minLength" AS t24_r19, "passcode_knob_sets"."pinHistory" AS t24_r20, "passcode_knob_sets"."requireAlphanumeric" AS t24_r21, "passcode_knob_sets"."temporary_id" AS t24_r3, "passcode_knob_sets"."updated_at" AS t24_r6, "printing_knob_sets"."AllowLocalPrinters" AS t25_r15, "printing_knob_sets"."DefaultPrinter" AS t25_r13, "printing_knob_sets"."FooterFontName" AS t25_r21, "printing_knob_sets"."FooterFontSize" AS t25_r20, "printing_knob_sets"."PayloadDisplayName" AS t25_r9, "printing_knob_sets"."PayloadEnabled" AS t25_r10, "printing_knob_sets"."PayloadUUID" AS t25_r8, "printing_knob_sets"."PayloadVersion" AS t25_r7, "printing_knob_sets"."PrintFooter" AS t25_r18, "printing_knob_sets"."PrintMACAddress" AS t25_r19, "printing_knob_sets"."RequireAdminToAddPrinters" AS t25_r14, "printing_knob_sets"."RequireAdminToPrintLocally" AS t25_r16, "printing_knob_sets"."ShowOnlyManagedPrinters" AS t25_r17, "printing_knob_sets"."admin_session" AS t25_r2, "printing_knob_sets"."created_at" AS t25_r5, "printing_knob_sets"."deleted" AS t25_r4, "printing_knob_sets"."id" AS t25_r0, "printing_knob_sets"."is_from_servermgr" AS t25_r11, "printing_knob_sets"."last_modified_guid" AS t25_r1, "printing_knob_sets"."lockedPrinterIds" AS t25_r12, "printing_knob_sets"."temporary_id" AS t25_r3, "printing_knob_sets"."updated_at" AS t25_r6, "privacy_knob_sets"."AllowIdentifiedDevelopers" AS t26_r14, "privacy_knob_sets"."AutoSubmit" AS t26_r12, "privacy_knob_sets"."DisableOverride" AS t26_r15, "privacy_knob_sets"."EnableAssessment" AS t26_r13, "privacy_knob_sets"."PayloadDisplayName" AS t26_r9, "privacy_knob_sets"."PayloadEnabled" AS t26_r10, "privacy_knob_sets"."PayloadUUID" AS t26_r8, "privacy_knob_sets"."PayloadVersion" AS t26_r7, "privacy_knob_sets"."admin_session" AS t26_r2, "privacy_knob_sets"."created_at" AS t26_r5, "privacy_knob_sets"."deleted" AS t26_r4, "privacy_knob_sets"."id" AS t26_r0, "privacy_knob_sets"."is_from_servermgr" AS t26_r11, "privacy_knob_sets"."last_modified_guid" AS t26_r1, "privacy_knob_sets"."temporary_id" AS t26_r3, "privacy_knob_sets"."updated_at" AS t26_r6, "restrictions_knob_sets"."PayloadDisplayName" AS t27_r9, "restrictions_knob_sets"."PayloadEnabled" AS t27_r10, "restrictions_knob_sets"."PayloadUUID" AS t27_r8, "restrictions_knob_sets"."PayloadVersion" AS t27_r7, "restrictions_knob_sets"."admin_session" AS t27_r2, "restrictions_knob_sets"."allowAddingGameCenterFriends" AS t27_r16, "restrictions_knob_sets"."allowAppInstallation" AS t27_r12, "restrictions_knob_sets"."allowAssistant" AS t27_r43, "restrictions_knob_sets"."allowAssistantWhileLocked" AS t27_r44, "restrictions_knob_sets"."allowCamera" AS t27_r13, "restrictions_knob_sets"."allowCloudBackup" AS t27_r38, "restrictions_knob_sets"."allowCloudDocumentSync" AS t27_r40, "restrictions_knob_sets"."allowCloudKeyValueSync" AS t27_r41, "restrictions_knob_sets"."allowExplicitContent" AS t27_r17, "restrictions_knob_sets"."allowGlobalBackgroundFetchWhenRoaming" AS t27_r22, "restrictions_knob_sets"."allowInAppPurchases" AS t27_r32, "restrictions_knob_sets"."allowLocationServices" AS t27_r23, "restrictions_knob_sets"."allowMultiplayerGaming" AS t27_r15, "restrictions_knob_sets"."allowPhotoStream" AS t27_r39, "restrictions_knob_sets"."allowSafari" AS t27_r26, "restrictions_knob_sets"."allowScreenShot" AS t27_r18, "restrictions_knob_sets"."allowUntrustedTLSPrompt" AS t27_r42, "restrictions_knob_sets"."allowVideoConferencing" AS t27_r14, "restrictions_knob_sets"."allowVoiceDialing" AS t27_r21, "restrictions_knob_sets"."allowYouTube" AS t27_r19, "restrictions_knob_sets"."allowiTunes" AS t27_r20, "restrictions_knob_sets"."created_at" AS t27_r5, "restrictions_knob_sets"."deleted" AS t27_r4, "restrictions_knob_sets"."forceContentProtection" AS t27_r25, "restrictions_knob_sets"."forceEncryptedBackup" AS t27_r24, "restrictions_knob_sets"."forceITunesStorePasswordEntry" AS t27_r37, "restrictions_knob_sets"."id" AS t27_r0, "restrictions_knob_sets"."is_from_servermgr" AS t27_r11, "restrictions_knob_sets"."last_modified_guid" AS t27_r1, "restrictions_knob_sets"."ratingApps" AS t27_r36, "restrictions_knob_sets"."ratingMovies" AS t27_r34, "restrictions_knob_sets"."ratingRegion" AS t27_r33, "restrictions_knob_sets"."ratingTVShows" AS t27_r35, "restrictions_knob_sets"."safariAcceptCookies" AS t27_r31, "restrictions_knob_sets"."safariAllowAutoFill" AS t27_r27, "restrictions_knob_sets"."safariAllowJavaScript" AS t27_r29, "restrictions_knob_sets"."safariAllowPopups" AS t27_r30, "restrictions_knob_sets"."safariForceFraudWarning" AS t27_r28, "restrictions_knob_sets"."temporary_id" AS t27_r3, "restrictions_knob_sets"."updated_at" AS t27_r6, "scep_knob_sets"."CAFingerprint" AS t28_r19, "scep_knob_sets"."Challenge" AS t28_r15, "scep_knob_sets"."Key_Type" AS t28_r17, "scep_knob_sets"."Key_Usage" AS t28_r18, "scep_knob_sets"."Keysize" AS t28_r16, "scep_knob_sets"."Name" AS t28_r13, "scep_knob_sets"."PayloadDisplayName" AS t28_r9, "scep_knob_sets"."PayloadEnabled" AS t28_r10, "scep_knob_sets"."PayloadUUID" AS t28_r8, "scep_knob_sets"."PayloadVersion" AS t28_r7, "scep_knob_sets"."Retries" AS t28_r21, "scep_knob_sets"."RetryDelay" AS t28_r22, "scep_knob_sets"."Subject" AS t28_r14, "scep_knob_sets"."SubjectAltName" AS t28_r20, "scep_knob_sets"."URL" AS t28_r12, "scep_knob_sets"."admin_session" AS t28_r2, "scep_knob_sets"."created_at" AS t28_r5, "scep_knob_sets"."deleted" AS t28_r4, "scep_knob_sets"."id" AS t28_r0, "scep_knob_sets"."is_from_servermgr" AS t28_r11, "scep_knob_sets"."last_modified_guid" AS t28_r1, "scep_knob_sets"."temporary_id" AS t28_r3, "scep_knob_sets"."updated_at" AS t28_r6, "software_update_knob_sets"."CatalogURL" AS t29_r12, "software_update_knob_sets"."PayloadDisplayName" AS t29_r9, "software_update_knob_sets"."PayloadEnabled" AS t29_r10, "software_update_knob_sets"."PayloadUUID" AS t29_r8, "software_update_knob_sets"."PayloadVersion" AS t29_r7, "software_update_knob_sets"."admin_session" AS t29_r2, "software_update_knob_sets"."created_at" AS t29_r5, "software_update_knob_sets"."deleted" AS t29_r4, "software_update_knob_sets"."id" AS t29_r0, "software_update_knob_sets"."is_from_servermgr" AS t29_r11, "software_update_knob_sets"."last_modified_guid" AS t29_r1, "software_update_knob_sets"."temporary_id" AS t29_r3, "software_update_knob_sets"."updated_at" AS t29_r6, "vpn_knob_sets"."IPSec" AS t30_r16, "vpn_knob_sets"."OverridePrimary" AS t30_r13, "vpn_knob_sets"."PPP" AS t30_r15, "vpn_knob_sets"."PayloadDisplayName" AS t30_r9, "vpn_knob_sets"."PayloadEnabled" AS t30_r10, "vpn_knob_sets"."PayloadUUID" AS t30_r8, "vpn_knob_sets"."PayloadVersion" AS t30_r7, "vpn_knob_sets"."Proxies" AS t30_r18, "vpn_knob_sets"."UserDefinedName" AS t30_r12, "vpn_knob_sets"."VPN" AS t30_r17, "vpn_knob_sets"."VPNSubType" AS t30_r20, "vpn_knob_sets"."VPNType" AS t30_r14, "vpn_knob_sets"."VendorConfig" AS t30_r19, "vpn_knob_sets"."admin_session" AS t30_r2, "vpn_knob_sets"."created_at" AS t30_r5, "vpn_knob_sets"."deleted" AS t30_r4, "vpn_knob_sets"."id" AS t30_r0, "vpn_knob_sets"."is_from_servermgr" AS t30_r11, "vpn_knob_sets"."last_modified_guid" AS t30_r1, "vpn_knob_sets"."temporary_id" AS t30_r3, "vpn_knob_sets"."updated_at" AS t30_r6, "web_clip_knob_sets"."FullScreen" AS t31_r17, "web_clip_knob_sets"."Icon" AS t31_r14, "web_clip_knob_sets"."IsRemovable" AS t31_r15, "web_clip_knob_sets"."Label" AS t31_r13, "web_clip_knob_sets"."PayloadDisplayName" AS t31_r9, "web_clip_knob_sets"."PayloadEnabled" AS t31_r10, "web_clip_knob_sets"."PayloadUUID" AS t31_r8, "web_clip_knob_sets"."PayloadVersion" AS t31_r7, "web_clip_knob_sets"."Precomposed" AS t31_r16, "web_clip_knob_sets"."URL" AS t31_r12, "web_clip_knob_sets"."admin_session" AS t31_r2, "web_clip_knob_sets"."created_at" AS t31_r5, "web_clip_knob_sets"."deleted" AS t31_r4, "web_clip_knob_sets"."id" AS t31_r0, "web_clip_knob_sets"."is_from_servermgr" AS t31_r11, "web_clip_knob_sets"."last_modified_guid" AS t31_r1, "web_clip_knob_sets"."temporary_id" AS t31_r3, "web_clip_knob_sets"."updated_at" AS t31_r6, "wifi_knob_sets"."EAPClientConfiguration" AS t32_r17, "wifi_knob_sets"."EncryptionType" AS t32_r14, "wifi_knob_sets"."HIDDEN_NETWORK" AS t32_r13, "wifi_knob_sets"."Password" AS t32_r15, "wifi_knob_sets"."PayloadCertificateUUID" AS t32_r16, "wifi_knob_sets"."PayloadDisplayName" AS t32_r9, "wifi_knob_sets"."PayloadEnabled" AS t32_r10, "wifi_knob_sets"."PayloadUUID" AS t32_r8, "wifi_knob_sets"."PayloadVersion" AS t32_r7, "wifi_knob_sets"."SSID_STR" AS t32_r12, "wifi_knob_sets"."admin_session" AS t32_r2, "wifi_knob_sets"."created_at" AS t32_r5, "wifi_knob_sets"."deleted" AS t32_r4, "wifi_knob_sets"."id" AS t32_r0, "wifi_knob_sets"."is_from_servermgr" AS t32_r11, "wifi_knob_sets"."last_modified_guid" AS t32_r1, "wifi_knob_sets"."temporary_id" AS t32_r3, "wifi_knob_sets"."updated_at" AS t32_r6 FROM knob_sets_profiles  JOIN profiles polymorphic_parent ON knob_sets_profiles.profile_id = polymorphic_parent.id LEFT JOIN ad_cert_knob_sets ON knob_sets_profiles.knob_set_id = ad_cert_knob_sets.id AND knob_sets_profiles.knob_set_type = 'AdCertKnobSet' LEFT JOIN apn_knob_sets ON knob_sets_profiles.knob_set_id = apn_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ApnKnobSet' LEFT JOIN cal_dav_knob_sets ON knob_sets_profiles.knob_set_id = cal_dav_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CalDavKnobSet' LEFT JOIN cal_sub_knob_sets ON knob_sets_profiles.knob_set_id = cal_sub_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CalSubKnobSet' LEFT JOIN card_dav_knob_sets ON knob_sets_profiles.knob_set_id = card_dav_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CardDavKnobSet' LEFT JOIN certificate_knob_sets ON knob_sets_profiles.knob_set_id = certificate_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CertificateKnobSet' LEFT JOIN cfprefs_knob_sets ON knob_sets_profiles.knob_set_id = cfprefs_knob_sets.id AND knob_sets_profiles.knob_set_type = 'CfprefsKnobSet' LEFT JOIN directory_knob_sets ON knob_sets_profiles.knob_set_id = directory_knob_sets.id AND knob_sets_profiles.knob_set_type = 'DirectoryKnobSet' LEFT JOIN dock_knob_sets ON knob_sets_profiles.knob_set_id = dock_knob_sets.id AND knob_sets_profiles.knob_set_type = 'DockKnobSet' LEFT JOIN email_knob_sets ON knob_sets_profiles.knob_set_id = email_knob_sets.id AND knob_sets_profiles.knob_set_type = 'EmailKnobSet' LEFT JOIN energy_saver_knob_sets ON knob_sets_profiles.knob_set_id = energy_saver_knob_sets.id AND knob_sets_profiles.knob_set_type = 'EnergySaverKnobSet' LEFT JOIN exchange_knob_sets ON knob_sets_profiles.knob_set_id = exchange_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ExchangeKnobSet' LEFT JOIN general_knob_sets ON knob_sets_profiles.knob_set_id = general_knob_sets.id AND knob_sets_profiles.knob_set_type = 'GeneralKnobSet' LEFT JOIN ichat_knob_sets ON knob_sets_profiles.knob_set_id = ichat_knob_sets.id AND knob_sets_profiles.knob_set_type = 'IchatKnobSet' LEFT JOIN ldap_knob_sets ON knob_sets_profiles.knob_set_id = ldap_knob_sets.id AND knob_sets_profiles.knob_set_type = 'LdapKnobSet' LEFT JOIN login_item_knob_sets ON knob_sets_profiles.knob_set_id = login_item_knob_sets.id AND knob_sets_profiles.knob_set_type = 'LoginItemKnobSet' LEFT JOIN login_window_knob_sets ON knob_sets_profiles.knob_set_id = login_window_knob_sets.id AND knob_sets_profiles.knob_set_type = 'LoginWindowKnobSet' LEFT JOIN mac_restrictions_knob_sets ON knob_sets_profiles.knob_set_id = mac_restrictions_knob_sets.id AND knob_sets_profiles.knob_set_type = 'MacRestrictionsKnobSet' LEFT JOIN mcx_knob_sets ON knob_sets_profiles.knob_set_id = mcx_knob_sets.id AND knob_sets_profiles.knob_set_type = 'McxKnobSet' LEFT JOIN mobility_knob_sets ON knob_sets_profiles.knob_set_id = mobility_knob_sets.id AND knob_sets_profiles.knob_set_type = 'MobilityKnobSet' LEFT JOIN interface_knob_sets ON knob_sets_profiles.knob_set_id = interface_knob_sets.id AND knob_sets_profiles.knob_set_type = 'InterfaceKnobSet' LEFT JOIN parental_controls_knob_sets ON knob_sets_profiles.knob_set_id = parental_controls_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ParentalControlsKnobSet' LEFT JOIN passcode_knob_sets ON knob_sets_profiles.knob_set_id = passcode_knob_sets.id AND knob_sets_profiles.knob_set_type = 'PasscodeKnobSet' LEFT JOIN printing_knob_sets ON knob_sets_profiles.knob_set_id = printing_knob_sets.id AND knob_sets_profiles.knob_set_type = 'PrintingKnobSet' LEFT JOIN privacy_knob_sets ON knob_sets_profiles.knob_set_id = privacy_knob_sets.id AND knob_sets_profiles.knob_set_type = 'PrivacyKnobSet' LEFT JOIN restrictions_knob_sets ON knob_sets_profiles.knob_set_id = restrictions_knob_sets.id AND knob_sets_profiles.knob_set_type = 'RestrictionsKnobSet' LEFT JOIN scep_knob_sets ON knob_sets_profiles.knob_set_id = scep_knob_sets.id AND knob_sets_profiles.knob_set_type = 'ScepKnobSet' LEFT JOIN software_update_knob_sets ON knob_sets_profiles.knob_set_id = software_update_knob_sets.id AND knob_sets_profiles.knob_set_type = 'SoftwareUpdateKnobSet' LEFT JOIN vpn_knob_sets ON knob_sets_profiles.knob_set_id = vpn_knob_sets.id AND knob_sets_profiles.knob_set_type = 'VpnKnobSet' LEFT JOIN web_clip_knob_sets ON knob_sets_profiles.knob_set_id = web_clip_knob_sets.id AND knob_sets_profiles.knob_set_type = 'WebClipKnobSet' LEFT JOIN wifi_knob_sets ON knob_sets_profiles.knob_set_id = wifi_knob_sets.id AND knob_sets_profiles.knob_set_type = 'WifiKnobSet' LEFT JOIN identification_knob_sets ON knob_sets_profiles.knob_set_id = identification_knob_sets.id AND knob_sets_profiles.knob_set_type = 'IdentificationKnobSet'  WHERE ((knob_sets_profiles.profile_id = 1))

    2012-08-22 17:20:25 CEST LOG:  statement: COMMIT

    2012-08-22 17:20:25 CEST LOG:  disconnection: session time: 0:00:00.606 user=_devicemgr database=device_management host=[local]

    2012-08-22 17:20:25 CEST DEBUG:  server process (PID 19745) exited with exit code 0

    2012-08-22 17:20:25 CEST DEBUG:  postmaster received signal 15

    2012-08-22 17:20:25 CEST LOG:  received smart shutdown request

    2012-08-22 17:20:25 CEST LOG:  autovacuum launcher shutting down

    2012-08-22 17:20:25 CEST LOG:  shutting down

    2012-08-22 17:20:25 CEST DEBUG:  attempting to remove WAL segments older than log file 000000010000000000000001

    2012-08-22 17:20:25 CEST LOG:  database system is shut down

    2012-08-22 17:20:25 CEST DEBUG:  logger shutting down

    2012-08-22 17:20:32 CEST LOG:  database system was shut down at 2012-08-22 17:20:25 CEST

    2012-08-22 17:20:32 CEST DEBUG:  checkpoint record is at 0/2C67848

    2012-08-22 17:20:32 CEST DEBUG:  redo record is at 0/2C67848; shutdown TRUE

    2012-08-22 17:20:32 CEST DEBUG:  next transaction ID: 0/3624; next OID: 35768

    2012-08-22 17:20:32 CEST DEBUG:  next MultiXactId: 1; next MultiXactOffset: 0

    2012-08-22 17:20:32 CEST DEBUG:  oldest unfrozen transaction ID: 985, in database 1

    2012-08-22 17:20:32 CEST DEBUG:  transaction ID wrap limit is 2147484632, limited by database with OID 1

    2012-08-22 17:20:32 CEST LOG:  database system is ready to accept connections

    2012-08-22 17:20:32 CEST LOG:  autovacuum launcher started

    2012-08-22 17:20:33 CEST DEBUG:  forked new backend, pid=19812 socket=9

    2012-08-22 17:20:33 CEST LOG:  connection received: host=[local]

    2012-08-22 17:20:33 CEST LOG:  connection authorized: user=collab database=collab

    2012-08-22 17:20:33 CEST LOG:  statement: SELECT true FROM pg_attribute WHERE attrelid='global_settings'::regclass AND attname='value_int'

    2012-08-22 17:20:33 CEST LOG:  statement: SELECT value_int FROM global_settings WHERE key='com.apple.setting.schema_version'

    2012-08-22 17:20:33 CEST LOG:  statement: SELECT value_int FROM global_settings WHERE key='com.apple.setting.schema_version'

    2012-08-22 17:20:33 CEST LOG:  statement: SELECT oid FROM pg_type WHERE typname='hstore'

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: BEGIN

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: BEGIN

    2012-08-22 17:20:33 CEST LOG:  statement: SELECT true FROM entity WHERE tiny_id='serverhome' AND NOT is_perm_deleted

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: COMMIT

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: COMMIT

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: BEGIN

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: BEGIN

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: SELECT uid   FROM entity     LEFT OUTER JOIN user_entity ON (user_entity.entity_uid_fk=entity.uid)  WHERE entity.entity_type_fk=$1 AND user_entity.external_id=$2

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: SELECT uid   FROM entity     LEFT OUTER JOIN user_entity ON (user_entity.entity_uid_fk=entity.uid)  WHERE entity.entity_type_fk=$1 AND user_entity.external_id=$2

    2012-08-22 17:20:33 CEST DETAIL:  parameters: $1 = 'com.apple.entity.User', $2 = 'unauthenticated'

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: SELECT entity_type_fk FROM entity WHERE uid=$1

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: SELECT entity_type_fk FROM entity WHERE uid=$1

    2012-08-22 17:20:33 CEST DETAIL:  parameters: $1 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:33 CEST LOG:  statement: SELECT md5(array_agg(s.*::text)::text) FROM (SELECT * FROM entity_type ORDER BY name) s

    2012-08-22 17:20:33 CEST LOG:  statement: SELECT array_agg(s.action::text) FROM (SELECT unnest(enum_range(null::acl_action)) AS action) s

    2012-08-22 17:20:33 CEST LOG:  statement: SELECT * FROM entity_type

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: WITH acl AS (     SELECT DISTINCT ON (position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))) entity_uid_fk       FROM entity_acls         LEFT OUTER JOIN entity ON (entity.uid=$2 AND NOT entity.is_perm_deleted)      WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])        AND allow   GROUP BY entity_uid_fk, position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))   ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC      LIMIT 1) SELECT max(action)::text FROM entity_acls WHERE entity_uid_fk=(SELECT entity_uid_fk FROM acl) AND external_id=ANY($1)

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: WITH acl AS (     SELECT DISTINCT ON (position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))) entity_uid_fk       FROM entity_acls         LEFT OUTER JOIN entity ON (entity.uid=$2 AND NOT entity.is_perm_deleted)      WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])        AND allow   GROUP BY entity_uid_fk, position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))   ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC      LIMIT 1) SELECT max(action)::text FROM entity_acls WHERE entity_uid_fk=(SELECT entity_uid_fk FROM acl) AND external_id=ANY($1)

    2012-08-22 17:20:33 CEST DETAIL:  parameters: $1 = '{*,unauthenticated}', $2 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:33 CEST DETAIL:  parameters: $1 = '{*,unauthenticated}', $2 = 'read', $3 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: SELECT "_inner_entity"."isDeleted", "_inner_entity"."longName", "_inner_entity"."isBlogEnabled", "_inner_entity"."description", "_inner_entity"."containerGUID", "_inner_entity"."createTime", "_inner_entity"."updatedByUserGUID", "_inner_entity"."revision", "_inner_entity"."shortName", "_inner_entity"."themeInfo", "_inner_entity"."ownerGUID", "_inner_entity"."ownerType", "_inner_entity"."type", "_inner_entity"."createdByUserGUID", "_inner_entity"."isHidden", "_inner_entity"."guid", "_inner_entity"."blogGUID", "_inner_entity"."tinyID", "_inner_entity"."parentGUIDs", "_inner_entity"."updateTime", "_inner_entity"."avatarGUID", "_inner_entity"."isPermanentlyDeleted", "_inner_entity"."isAuthenticated", "_inner_entity"."login", "_inner_entity"."externalID", "_inner_entity"."activityTime", "_inner_entity"."detailPageGUID", "_inner_entity"."tags", "_inner_entity"."extendedAttributes", "_inner_entity"."privateAttributes", "_inner_entity"."isFavorite", "_inner_entity"."isMyPage", "_inner_entity"."isWatched", ("_inner_entity"."_activity").action_time AS "lastActivityTime", ("_inner_entity"."_activity").user_uid_fk AS "lastActivityUserGUID", "_inner_entity"."tags" AS "tags" FROM (SELECT entity.is_deleted AS "isDeleted", entity.long_name AS "longName", entity.is_blog_enabled AS "isBlogEnabled", entity.description AS "description", entity.container_uid_fk AS "containerGUID", entity.create_time AS "createTime", entity.updatedby_user_fk AS "updatedByUserGUID", entity.revision AS "revision", entity.short_name AS "shortName", entity.theme_info AS "themeInfo", entity.ownedby_uid_fk AS "ownerGUID", entity.owner_entity_type_fk AS "ownerType", entity.entity_type_fk AS "type", entity.createdby_user_fk AS "createdByUserGUID", entity.is_hidden AS "isHidden", entity.uid AS "guid", entity.blog_uid_fk AS "blogGUID", entity.tiny_id AS "tinyID", entity.parent_uids AS "parentGUIDs", entity.update_time AS "updateTime", entity.avatar_uid_fk AS "avatarGUID", entity.is_perm_deleted AS "isPermanentlyDeleted", user_entity.is_authenticated AS "isAuthenticated", user_entity.login AS "login", user_entity.external_id AS "externalID", user_entity.activity_time AS "activityTime", user_entity.detail_page_fk AS "detailPageGUID", coalesce(entity_tag.tags,'{}') AS "tags", entity_attrs.attrs_bin AS "extendedAttributes", entity_private_attrs.attrs_bin AS "privateAttributes", NULL AS "isFavorite", NULL AS "isMyPage", NULL AS "isWatched",   (SELECT DISTINCT ON (user_uid_fk, action_time) ROW(user_uid_fk, action_time)::last_activity      FROM user_activity     WHERE user_uid_fk=entity.uid  ORDER BY user_uid_fk, action_time DESC     LIMIT 1) AS "_activity" FROM entity LEFT OUTER JOIN user_entity ON (user_entity.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_tag ON (entity_tag.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_attrs ON (entity_attrs.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_private_attrs ON (entity_private_attrs.entity_uid_fk=entity.uid) WHERE entity.uid=$1  AND true = (    WITH acls AS (      SELECT entity_uid_fk, array_agg(external_id) AS external_ids        FROM entity_acls       WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])         AND 'read' <= action    GROUP BY entity_uid_fk      HAVING array_length(array_agg(external_id), 1) > 0    ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC       LIMIT 1    )    SELECT true      FROM acls     WHERE external_ids && $2     LIMIT 1) AND NOT entity.is_perm_deleted AND NOT entity.is_deleted ) "_inner_entity"

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: SELECT "_inner_entity"."isDeleted", "_inner_entity"."longName", "_inner_entity"."isBlogEnabled", "_inner_entity"."description", "_inner_entity"."containerGUID", "_inner_entity"."createTime", "_inner_entity"."updatedByUserGUID", "_inner_entity"."revision", "_inner_entity"."shortName", "_inner_entity"."themeInfo", "_inner_entity"."ownerGUID", "_inner_entity"."ownerType", "_inner_entity"."type", "_inner_entity"."createdByUserGUID", "_inner_entity"."isHidden", "_inner_entity"."guid", "_inner_entity"."blogGUID", "_inner_entity"."tinyID", "_inner_entity"."parentGUIDs", "_inner_entity"."updateTime", "_inner_entity"."avatarGUID", "_inner_entity"."isPermanentlyDeleted", "_inner_entity"."isAuthenticated", "_inner_entity"."login", "_inner_entity"."externalID", "_inner_entity"."activityTime", "_inner_entity"."detailPageGUID", "_inner_entity"."tags", "_inner_entity"."extendedAttributes", "_inner_entity"."privateAttributes", "_inner_entity"."isFavorite", "_inner_entity"."isMyPage", "_inner_entity"."isWatched", ("_inner_entity"."_activity").action_time AS "lastActivityTime", ("_inner_entity"."_activity").user_uid_fk AS "lastActivityUserGUID", "_inner_entity"."tags" AS "tags" FROM (SELECT entity.is_deleted AS "isDeleted", entity.long_name AS "longName", entity.is_blog_enabled AS "isBlogEnabled", entity.description AS "description", entity.container_uid_fk AS "containerGUID", entity.create_time AS "createTime", entity.updatedby_user_fk AS "updatedByUserGUID", entity.revision AS "revision", entity.short_name AS "shortName", entity.theme_info AS "themeInfo", entity.ownedby_uid_fk AS "ownerGUID", entity.owner_entity_type_fk AS "ownerType", entity.entity_type_fk AS "type", entity.createdby_user_fk AS "createdByUserGUID", entity.is_hidden AS "isHidden", entity.uid AS "guid", entity.blog_uid_fk AS "blogGUID", entity.tiny_id AS "tinyID", entity.parent_uids AS "parentGUIDs", entity.update_time AS "updateTime", entity.avatar_uid_fk AS "avatarGUID", entity.is_perm_deleted AS "isPermanentlyDeleted", user_entity.is_authenticated AS "isAuthenticated", user_entity.login AS "login", user_entity.external_id AS "externalID", user_entity.activity_time AS "activityTime", user_entity.detail_page_fk AS "detailPageGUID", coalesce(entity_tag.tags,'{}') AS "tags", entity_attrs.attrs_bin AS "extendedAttributes", entity_private_attrs.attrs_bin AS "privateAttributes", NULL AS "isFavorite", NULL AS "isMyPage", NULL AS "isWatched",   (SELECT DISTINCT ON (user_uid_fk, action_time) ROW(user_uid_fk, action_time)::last_activity      FROM user_activity     WHERE user_uid_fk=entity.uid  ORDER BY user_uid_fk, action_time DESC     LIMIT 1) AS "_activity" FROM entity LEFT OUTER JOIN user_entity ON (user_entity.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_tag ON (entity_tag.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_attrs ON (entity_attrs.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_private_attrs ON (entity_private_attrs.entity_uid_fk=entity.uid) WHERE entity.uid=$1  AND true = (    WITH acls AS (      SELECT entity_uid_fk, array_agg(external_id) AS external_ids        FROM entity_acls       WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])         AND 'read' <= action    GROUP BY entity_uid_fk      HAVING array_length(array_agg(external_id), 1) > 0    ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC       LIMIT 1    )    SELECT true      FROM acls     WHERE external_ids && $2     LIMIT 1) AND NOT entity.is_perm_deleted AND NOT entity.is_deleted ) "_inner_entity"

    2012-08-22 17:20:33 CEST DETAIL:  parameters: $1 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c', $2 = '{*,unauthenticated}'

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:33 CEST DETAIL:  parameters: $1 = '{*,unauthenticated}', $2 = 'own', $3 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: COMMIT

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: COMMIT

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: INSERT INTO session (uid, user_uid_fk) VALUES ($1, $2) RETURNING uid

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: INSERT INTO session (uid, user_uid_fk) VALUES ($1, $2) RETURNING uid

    2012-08-22 17:20:33 CEST DETAIL:  parameters: $1 = 'c9a6cc62-5607-4c0c-9536-339974c793dd', $2 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: SELECT uid, user_uid_fk, auth_token, create_time, update_time, data FROM session WHERE uid=$1

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: SELECT uid, user_uid_fk, auth_token, create_time, update_time, data FROM session WHERE uid=$1

    2012-08-22 17:20:33 CEST DETAIL:  parameters: $1 = 'c9a6cc62-5607-4c0c-9536-339974c793dd'

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: WITH acl AS (     SELECT DISTINCT ON (position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))) entity_uid_fk       FROM entity_acls         LEFT OUTER JOIN entity ON (entity.uid=$2 AND NOT entity.is_perm_deleted)      WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])        AND allow   GROUP BY entity_uid_fk, position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))   ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC      LIMIT 1) SELECT max(action)::text FROM entity_acls WHERE entity_uid_fk=(SELECT entity_uid_fk FROM acl) AND external_id=ANY($1)

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: WITH acl AS (     SELECT DISTINCT ON (position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))) entity_uid_fk       FROM entity_acls         LEFT OUTER JOIN entity ON (entity.uid=$2 AND NOT entity.is_perm_deleted)      WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])        AND allow   GROUP BY entity_uid_fk, position(entity_uid_fk::text in array_to_string(entity.parent_uids, ','))   ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC      LIMIT 1) SELECT max(action)::text FROM entity_acls WHERE entity_uid_fk=(SELECT entity_uid_fk FROM acl) AND external_id=ANY($1)

    2012-08-22 17:20:33 CEST DETAIL:  parameters: $1 = '{*,unauthenticated}', $2 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:33 CEST DETAIL:  parameters: $1 = '{*,unauthenticated}', $2 = 'read', $3 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: SELECT "_inner_entity"."isDeleted", "_inner_entity"."longName", "_inner_entity"."isBlogEnabled", "_inner_entity"."description", "_inner_entity"."containerGUID", "_inner_entity"."createTime", "_inner_entity"."updatedByUserGUID", "_inner_entity"."revision", "_inner_entity"."shortName", "_inner_entity"."themeInfo", "_inner_entity"."ownerGUID", "_inner_entity"."ownerType", "_inner_entity"."type", "_inner_entity"."createdByUserGUID", "_inner_entity"."isHidden", "_inner_entity"."guid", "_inner_entity"."blogGUID", "_inner_entity"."tinyID", "_inner_entity"."parentGUIDs", "_inner_entity"."updateTime", "_inner_entity"."avatarGUID", "_inner_entity"."isPermanentlyDeleted", "_inner_entity"."isAuthenticated", "_inner_entity"."login", "_inner_entity"."externalID", "_inner_entity"."activityTime", "_inner_entity"."detailPageGUID", "_inner_entity"."tags", "_inner_entity"."extendedAttributes", "_inner_entity"."privateAttributes", "_inner_entity"."isFavorite", "_inner_entity"."isMyPage", "_inner_entity"."isWatched", ("_inner_entity"."_activity").action_time AS "lastActivityTime", ("_inner_entity"."_activity").user_uid_fk AS "lastActivityUserGUID", "_inner_entity"."tags" AS "tags" FROM (SELECT entity.is_deleted AS "isDeleted", entity.long_name AS "longName", entity.is_blog_enabled AS "isBlogEnabled", entity.description AS "description", entity.container_uid_fk AS "containerGUID", entity.create_time AS "createTime", entity.updatedby_user_fk AS "updatedByUserGUID", entity.revision AS "revision", entity.short_name AS "shortName", entity.theme_info AS "themeInfo", entity.ownedby_uid_fk AS "ownerGUID", entity.owner_entity_type_fk AS "ownerType", entity.entity_type_fk AS "type", entity.createdby_user_fk AS "createdByUserGUID", entity.is_hidden AS "isHidden", entity.uid AS "guid", entity.blog_uid_fk AS "blogGUID", entity.tiny_id AS "tinyID", entity.parent_uids AS "parentGUIDs", entity.update_time AS "updateTime", entity.avatar_uid_fk AS "avatarGUID", entity.is_perm_deleted AS "isPermanentlyDeleted", user_entity.is_authenticated AS "isAuthenticated", user_entity.login AS "login", user_entity.external_id AS "externalID", user_entity.activity_time AS "activityTime", user_entity.detail_page_fk AS "detailPageGUID", coalesce(entity_tag.tags,'{}') AS "tags", entity_attrs.attrs_bin AS "extendedAttributes", entity_private_attrs.attrs_bin AS "privateAttributes", NULL AS "isFavorite", NULL AS "isMyPage", NULL AS "isWatched",   (SELECT DISTINCT ON (user_uid_fk, action_time) ROW(user_uid_fk, action_time)::last_activity      FROM user_activity     WHERE user_uid_fk=entity.uid  ORDER BY user_uid_fk, action_time DESC     LIMIT 1) AS "_activity" FROM entity LEFT OUTER JOIN user_entity ON (user_entity.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_tag ON (entity_tag.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_attrs ON (entity_attrs.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_private_attrs ON (entity_private_attrs.entity_uid_fk=entity.uid) WHERE entity.uid=$1  AND true = (    WITH acls AS (      SELECT entity_uid_fk, array_agg(external_id) AS external_ids        FROM entity_acls       WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])         AND 'read' <= action    GROUP BY entity_uid_fk      HAVING array_length(array_agg(external_id), 1) > 0    ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC       LIMIT 1    )    SELECT true      FROM acls     WHERE external_ids && $2     LIMIT 1) AND NOT entity.is_perm_deleted AND NOT entity.is_deleted ) "_inner_entity"

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: SELECT "_inner_entity"."isDeleted", "_inner_entity"."longName", "_inner_entity"."isBlogEnabled", "_inner_entity"."description", "_inner_entity"."containerGUID", "_inner_entity"."createTime", "_inner_entity"."updatedByUserGUID", "_inner_entity"."revision", "_inner_entity"."shortName", "_inner_entity"."themeInfo", "_inner_entity"."ownerGUID", "_inner_entity"."ownerType", "_inner_entity"."type", "_inner_entity"."createdByUserGUID", "_inner_entity"."isHidden", "_inner_entity"."guid", "_inner_entity"."blogGUID", "_inner_entity"."tinyID", "_inner_entity"."parentGUIDs", "_inner_entity"."updateTime", "_inner_entity"."avatarGUID", "_inner_entity"."isPermanentlyDeleted", "_inner_entity"."isAuthenticated", "_inner_entity"."login", "_inner_entity"."externalID", "_inner_entity"."activityTime", "_inner_entity"."detailPageGUID", "_inner_entity"."tags", "_inner_entity"."extendedAttributes", "_inner_entity"."privateAttributes", "_inner_entity"."isFavorite", "_inner_entity"."isMyPage", "_inner_entity"."isWatched", ("_inner_entity"."_activity").action_time AS "lastActivityTime", ("_inner_entity"."_activity").user_uid_fk AS "lastActivityUserGUID", "_inner_entity"."tags" AS "tags" FROM (SELECT entity.is_deleted AS "isDeleted", entity.long_name AS "longName", entity.is_blog_enabled AS "isBlogEnabled", entity.description AS "description", entity.container_uid_fk AS "containerGUID", entity.create_time AS "createTime", entity.updatedby_user_fk AS "updatedByUserGUID", entity.revision AS "revision", entity.short_name AS "shortName", entity.theme_info AS "themeInfo", entity.ownedby_uid_fk AS "ownerGUID", entity.owner_entity_type_fk AS "ownerType", entity.entity_type_fk AS "type", entity.createdby_user_fk AS "createdByUserGUID", entity.is_hidden AS "isHidden", entity.uid AS "guid", entity.blog_uid_fk AS "blogGUID", entity.tiny_id AS "tinyID", entity.parent_uids AS "parentGUIDs", entity.update_time AS "updateTime", entity.avatar_uid_fk AS "avatarGUID", entity.is_perm_deleted AS "isPermanentlyDeleted", user_entity.is_authenticated AS "isAuthenticated", user_entity.login AS "login", user_entity.external_id AS "externalID", user_entity.activity_time AS "activityTime", user_entity.detail_page_fk AS "detailPageGUID", coalesce(entity_tag.tags,'{}') AS "tags", entity_attrs.attrs_bin AS "extendedAttributes", entity_private_attrs.attrs_bin AS "privateAttributes", NULL AS "isFavorite", NULL AS "isMyPage", NULL AS "isWatched",   (SELECT DISTINCT ON (user_uid_fk, action_time) ROW(user_uid_fk, action_time)::last_activity      FROM user_activity     WHERE user_uid_fk=entity.uid  ORDER BY user_uid_fk, action_time DESC     LIMIT 1) AS "_activity" FROM entity LEFT OUTER JOIN user_entity ON (user_entity.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_tag ON (entity_tag.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_attrs ON (entity_attrs.entity_uid_fk=entity.uid) LEFT OUTER JOIN entity_private_attrs ON (entity_private_attrs.entity_uid_fk=entity.uid) WHERE entity.uid=$1  AND true = (    WITH acls AS (      SELECT entity_uid_fk, array_agg(external_id) AS external_ids        FROM entity_acls       WHERE entity_uid_fk=ANY(entity.parent_uids::uuid[])         AND 'read' <= action    GROUP BY entity_uid_fk      HAVING array_length(array_agg(external_id), 1) > 0    ORDER BY position(entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC       LIMIT 1    )    SELECT true      FROM acls     WHERE external_ids && $2     LIMIT 1) AND NOT entity.is_perm_deleted AND NOT entity.is_deleted ) "_inner_entity"

    2012-08-22 17:20:33 CEST DETAIL:  parameters: $1 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c', $2 = '{*,unauthenticated}'

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: SELECT (is_deleted OR is_perm_deleted) AS "isDeleted",        coalesce($1::varchar[] && (         SELECT array_agg(entity_acls.external_id) AS external_ids            FROM entity_acls              LEFT OUTER JOIN entity ON (entity.uid=$3 AND NOT entity.is_perm_deleted)           WHERE entity_acls.entity_uid_fk=ANY(entity.parent_uids::uuid[])             AND $2 <= entity_acls.action             AND entity_acls.allow        GROUP BY entity_acls.entity_uid_fk, entity.parent_uids          HAVING array_length(array_agg(entity_acls.external_id), 1) > 0        ORDER BY position(entity_acls.entity_uid_fk::text in array_to_string(entity.parent_uids, ',')) DESC           LIMIT 1        ), false) AS "isAccessible"   FROM entity  WHERE uid = $3 AND NOT entity.is_perm_deleted

    2012-08-22 17:20:33 CEST DETAIL:  parameters: $1 = '{*,unauthenticated}', $2 = 'own', $3 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:20:33 CEST LOG:  disconnection: session time: 0:00:00.045 user=collab database=collab host=[local]

    2012-08-22 17:20:33 CEST DEBUG:  server process (PID 19812) exited with exit code 0

    2012-08-22 17:20:33 CEST DEBUG:  forked new backend, pid=19813 socket=9

    2012-08-22 17:20:33 CEST LOG:  connection received: host=[local]

    2012-08-22 17:20:33 CEST LOG:  connection authorized: user=collab database=collab

    2012-08-22 17:20:33 CEST LOG:  statement: SELECT '{}'::text[], hstore('a','b')

    2012-08-22 17:20:33 CEST DEBUG:  parse <unnamed>: SELECT value_bin FROM global_settings WHERE key=$1

    2012-08-22 17:20:33 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:20:33 CEST LOG:  execute <unnamed>: SELECT value_bin FROM global_settings WHERE key=$1

    2012-08-22 17:20:33 CEST DETAIL:  parameters: $1 = 'projectCreators'

    2012-08-22 17:20:33 CEST LOG:  disconnection: session time: 0:00:00.006 user=collab database=collab host=[local]

    2012-08-22 17:20:33 CEST DEBUG:  server process (PID 19813) exited with exit code 0

    2012-08-22 17:20:33 CEST DEBUG:  postmaster received signal 15

    2012-08-22 17:20:33 CEST LOG:  received smart shutdown request

    2012-08-22 17:20:33 CEST LOG:  autovacuum launcher shutting down

    2012-08-22 17:20:33 CEST LOG:  shutting down

    2012-08-22 17:20:33 CEST DEBUG:  attempting to remove WAL segments older than log file 000000010000000000000001

    2012-08-22 17:20:33 CEST LOG:  database system is shut down

    2012-08-22 17:20:33 CEST DEBUG:  logger shutting down

     

     

    Thank you for your help!

  • DarKOrange Level 1 Level 1 (5 points)

    Hi again,

    based on your advice I looked in system.log to see what process could shut postgres down.

    And it looks like that it happens each time Time Machine is making a backup...

     

    system.log

     

    Aug 22 17:41:17 SilverBox.local ServerBackup[20314]: SRC := /Library/Server/Web/Config/apache2/

              DST := /.ServerBackups/webServer

    Aug 22 17:41:17 SilverBox.local ServerBackup[20314]: SRC := /etc/certificates/

              DST := /.ServerBackups/webServer

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (2,0)

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [100] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (100000,0)

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (2,0)

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [100] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (100000,0)

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (2,0)

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [100] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (100000,0)

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (2,0)

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [100] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (100000,0)

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (2,0)

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [100] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (100000,0)

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (2,0)

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [100] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (100000,0)

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (2,0)

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [100] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (100000,0)

    Aug 22 17:41:17 SilverBox.local com.apple.backupd[20033]: Using file event preflight for Macintosh HD

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (2,0)

    Aug 22 17:41:17 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [100] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (100000,0)

    Aug 22 17:41:20 SilverBox.local com.apple.backupd[20033]: Will copy (70 MB) from Macintosh HD

    Aug 22 17:41:20 SilverBox.local com.apple.backupd[20033]: Found 544 files (140,3 MB) needing backup

    Aug 22 17:41:20 SilverBox.local com.apple.backupd[20033]: 196,2 MB required (including padding), 10,34 GB available

    Aug 22 17:41:32 SilverBox.local com.apple.backupd[20033]: Copied 9147 files (70 MB) from volume Macintosh HD.

    Aug 22 17:41:32 SilverBox.local com.apple.backupd[20033]: Using file event preflight for Macintosh HD

    Aug 22 17:41:32 SilverBox.local com.apple.backupd[20033]: Will copy (Zero KB) from Macintosh HD

    Aug 22 17:41:32 SilverBox.local com.apple.backupd[20033]: Found 9 files (Zero KB) needing backup

    Aug 22 17:41:32 SilverBox.local com.apple.backupd[20033]: 104,9 MB required (including padding), 10,27 GB available

    Aug 22 17:41:33 SilverBox.local com.apple.backupd[20033]: Copied 194 files (33 bytes) from volume Macintosh HD.

    Aug 22 17:41:33 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'com.apple.ServiceManagement.daemons.modify' by client '/usr/libexec/UserEventAgent' [15] for authorization created by '/usr/libexec/UserEventAgent' [15] (100012,0)

    Aug 22 17:41:33 SilverBox.local com.apple.backupd[20033]: Created new backup: 2012-08-22-174133

    Aug 22 17:41:34 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (2,0)

    Aug 22 17:41:34 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [100] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (100000,0)

    Aug 22 17:41:37 SilverBox.local com.apple.backupd[20033]: Starting post-backup thinning

    Aug 22 17:41:37 SilverBox.local com.apple.backupd[20033]: Error: Error Domain=NSOSStatusErrorDomain Code=-36 "The operation couldn’t be completed. (OSStatus error -36.)" (ioErr: I/O error (bummers)) deleting backup: /Volumes/Time Machine/Backups.backupdb/SilverBox/2012-08-14-204433

    Aug 22 17:41:37 SilverBox.local com.apple.backupd[20033]: Error: Error Domain=NSOSStatusErrorDomain Code=-36 "The operation couldn’t be completed. (OSStatus error -36.)" (ioErr: I/O error (bummers)) deleting backup: /Volumes/Time Machine/Backups.backupdb/SilverBox/2012-08-14-224440

    Aug 22 17:41:37 SilverBox.local com.apple.backupd[20033]: Error: Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn’t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) deleting backup: /Volumes/Time Machine/Backups.backupdb/SilverBox/2012-08-22-174016.inProgress/A25E7CF9-F76C-4 1BC-80DA-6822B87E7230

    Aug 22 17:41:45 SilverBox.local com.apple.backupd[20033]: Deleted /Volumes/Time Machine/Backups.backupdb/SilverBox/2012-08-21-172053 (69,5 MB)

    Aug 22 17:41:45 SilverBox.local com.apple.backupd[20033]: Post-back up thinning complete: 1 expired backups removed

    Aug 22 17:41:46 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (2,0)

    Aug 22 17:41:46 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [100] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (100000,0)

    Aug 22 17:41:46 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'com.apple.ServiceManagement.daemons.modify' by client '/usr/libexec/UserEventAgent' [15] for authorization created by '/usr/libexec/UserEventAgent' [15] (100012,0)

    Aug 22 17:41:46 SilverBox.local com.apple.backupd[20033]: Backup completed successfully.

    Aug 22 17:41:47 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (2,0)

    Aug 22 17:41:47 SilverBox.local com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [100] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [112] (100000,0)

     

    postgreSQL.log

     

    2012-08-22 17:41:16 CEST DETAIL:  parameters: $1 = '{*,unauthenticated}', $2 = 'own', $3 = '742d3a53-c7b0-4911-9465-90a98fd3cf7c'

    2012-08-22 17:41:16 CEST LOG:  disconnection: session time: 0:00:00.044 user=collab database=collab host=[local]

    2012-08-22 17:41:16 CEST DEBUG:  server process (PID 20518) exited with exit code 0

    2012-08-22 17:41:16 CEST DEBUG:  forked new backend, pid=20519 socket=9

    2012-08-22 17:41:16 CEST LOG:  connection received: host=[local]

    2012-08-22 17:41:16 CEST LOG:  connection authorized: user=collab database=collab

    2012-08-22 17:41:16 CEST LOG:  statement: SELECT '{}'::text[], hstore('a','b')

    2012-08-22 17:41:16 CEST DEBUG:  parse <unnamed>: SELECT value_bin FROM global_settings WHERE key=$1

    2012-08-22 17:41:16 CEST DEBUG:  bind <unnamed> to <unnamed>

    2012-08-22 17:41:16 CEST LOG:  execute <unnamed>: SELECT value_bin FROM global_settings WHERE key=$1

    2012-08-22 17:41:16 CEST DETAIL:  parameters: $1 = 'projectCreators'

    2012-08-22 17:41:16 CEST LOG:  disconnection: session time: 0:00:00.007 user=collab database=collab host=[local]

    2012-08-22 17:41:16 CEST DEBUG:  server process (PID 20519) exited with exit code 0

    2012-08-22 17:41:16 CEST DEBUG:  postmaster received signal 15

    2012-08-22 17:41:16 CEST LOG:  received smart shutdown request

    2012-08-22 17:41:16 CEST LOG:  autovacuum launcher shutting down

    2012-08-22 17:41:16 CEST LOG:  shutting down

    2012-08-22 17:41:16 CEST DEBUG:  attempting to remove WAL segments older than log file 000000010000000000000001

    2012-08-22 17:41:16 CEST LOG:  database system is shut down

    2012-08-22 17:41:16 CEST DEBUG:  logger shutting down

     

     

    What do you think?

     

    Thank you!

  • redshift82r Level 2 Level 2 (325 points)

    Not convinced about backup being the issue although that doesnt look healthy.

     

    New plan.

     

    Turn your debug level back to "1" for Postgres.

     

    Start turning off 1 server service at a time ( wiki, profile manager, address book, calendar) and stop / start Postgres and see if it stays running.  Try and narrow it down that way.

  • DarKOrange Level 1 Level 1 (5 points)

    The problem is really due to Time Machine, I can reproduce it. Each time I start a back up postgres is shut down. I have no idea how to fix this...

  • iToaster Level 3 Level 3 (720 points)

    I read somewhere ML server shuts postgres down to enable a proper TM backup when TM runs

    and restarts it. Unlike previous incarnations of OSX server were TM was not recommend because it didn't completely back up the file system. because the various databases were still running. 

  • DarKOrange Level 1 Level 1 (5 points)

    The problem is that in my case TM doesn't restart it...

  • iToaster Level 3 Level 3 (720 points)

    is TM finishing the backup, I've had the odd problem in the past were TM seems to runaway with itself

    stuck indexing files and I've had to eraze the TM drve and start again.other times I've had drive poblems which again stopped TM from finishing.

     

    I don't know how postgres backup is handled by TM, if it's a snapshot or if it's shutdown the whole time TM or what smarts it has if postgres receives a request when TM is trying to back it up or if it can handle none apple additions to the db like roundube

     

    redshift82r is the postgres guru

     

    according to this kb article it's  suposed to backup the OD and postges daily

     

    http://support.apple.com/kb/HT5139

     

    Time Machine is the native backup service for OS X Server. OS X  Server also includes a process called ServerBackup which works with Time Machine. ServerBackup performs daily backups of Open Directory (if it is enabled) and the Postgres databases used by the Calendar (or iCal), Contacts (or Address Book), Profile Manager, and Wiki services. These daily backups are included in the Time Machine backup of Lion Server. ServerBackup also takes part in the restoration of server services, running during the first startup after a server has been restored, and restoring server services and databases into place after the server has started up.

  • redshift82r Level 2 Level 2 (325 points)

    The differences in behavior might be down to clean install vs migration.  My server was an update of 10.7.4 not a clean install.  There will be a script within server.app/contents somewhere for server backup. Might be worth a poke around.

  • redshift82r Level 2 Level 2 (325 points)

    Have a look at  server.app/contents/serverroot/private/etc/server_backup/

     

    You mentioned that you had done a "clean install" but did you then migrate settings from a previous server?

    The HT article mentions that

     

    ServerBackup also takes part in the restoration of server services, running during the first startup after a server has been restored, and restoring server services and databases into place after the server has started up.

    Maybe it didn't run cleanly on first startup, thus shutting down postgres.  Is postgres starting by itself now on startup after reboot?

  • redshift82r Level 2 Level 2 (325 points)

    If it is a clean install, why not delete server.app and re-install and see what happens?

  • AnalogKid Level 1 Level 1 (10 points)

    I'm just digging into Postgres and Roundcube myself, but one thing I've noticed is that Postgres only runs when certain services are turned on in Server.app.  I had to enable ProfileManager to get Postgres to come up.  Presumably there's a launched plist I can fiddle somewhere to get around that, but I'm wondering if that relates to this problem: if you're turning on the database using serveradmin rather than enabling a magic service, and TimeMachine is shutting it down, does TimeMachine know it needs to start it back up again?

  • redshift82r Level 2 Level 2 (325 points)

    Great pickup! I run profile mgr, calendar, addressbook and wiki, any which will turn Postgres on.

  • DarKOrange Level 1 Level 1 (5 points)

    Thank you redshift82r and AnalogKid for your help!

    I turned on profile manager service and since then I don't have any more problem with Postgres, it stays on!

    Cheers.

    Laurent