composite_primary_keys 3.0.0.b3 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,18 @@
1
- == 3.0.1.b 2010-12-06
1
+ == 3.0.1 2010-11-19
2
+ * Support ActiveRecord 3.0.3 and Arel 2+
3
+ * Require ActiveRecord 3.0.3 as minimum dependency
4
+ * Fix double quoting issue with table names - thanks to Kevin Motschiedler for a patch.
5
+ * Fix SQLiteAdapter class inheritance issue - thanks to Brandon Hauff for a patch.
6
+
7
+
8
+ == 3.0.1.b3 2010-11-07
9
+
10
+ * Fix bug in joining to :has_one association
11
+ * Added support for Model.find(:last)
12
+ * Added support for finding via associations with
13
+ limited ids. For example find(:include => :foo, :limit => 1)
14
+
15
+ == 3.0.1.b2 2010-11-06
2
16
 
3
17
  * Port to Rails 3.0 and Ruby 1.9.2
4
18
 
data/Rakefile CHANGED
@@ -40,7 +40,7 @@ spec = Gem::Specification.new do |s|
40
40
 
41
41
  # Dependencies
42
42
  s.required_ruby_version = '>= 1.8.7'
43
- s.add_dependency('activerecord', '>= 3.0.1')
43
+ s.add_dependency('activerecord', '>= 3.0.3')
44
44
  s.add_development_dependency "rspec"
45
45
  end
46
46
 
@@ -15,14 +15,13 @@ module ActiveRecord
15
15
  else
16
16
  # CPK
17
17
  # @finder_sql = "#{@reflection.quoted_table_name}.#{@reflection.primary_key_name} = #{owner_quoted_id}"
18
- @finder_sql = full_columns_equals(@reflection.quoted_table_name, @reflection.cpk_primary_key, owner_quoted_id)
18
+ @finder_sql = full_columns_equals(@reflection.table_name, @reflection.cpk_primary_key, owner_quoted_id)
19
19
  @finder_sql << " AND (#{conditions})" if conditions
20
20
  end
21
21
 
22
22
  construct_counter_sql
23
23
  end
24
24
 
25
- # Deletes the records according to the <tt>:dependent</tt> option.
26
25
  def delete_records(records)
27
26
  case @reflection.options[:dependent]
28
27
  when :destroy
@@ -32,9 +31,10 @@ module ActiveRecord
32
31
  else
33
32
  relation = Arel::Table.new(@reflection.table_name)
34
33
  # CPK
35
- # relation.where(relation[@reflection.primary_key_name].eq(@owner.id).
36
- # and(Arel::Predicates::In.new(relation[@reflection.klass.primary_key], records.map(&:id)))
37
- # ).update(relation[@reflection.primary_key_name] => nil)
34
+ #relation.where(relation[@reflection.primary_key_name].eq(@owner.id).
35
+ # and(relation[@reflection.klass.primary_key].in(records.map { |r| r.id }))
36
+ #).update(relation[@reflection.primary_key_name] => nil)
37
+
38
38
  id_predicate = nil
39
39
  owner_key_values = @reflection.cpk_primary_key.zip([@owner.id].flatten)
40
40
  owner_key_values.each do |key, value|
@@ -57,8 +57,9 @@ module ActiveRecord
57
57
 
58
58
  relation = relation.where(id_predicate.and(record_predicates))
59
59
 
60
+ nullify_relation = Arel::Table.new(@reflection.table_name)
60
61
  nullify = @reflection.cpk_primary_key.inject(Hash.new) do |hash, key|
61
- hash[relation[key]] = nil
62
+ hash[nullify_relation[key]] = nil
62
63
  hash
63
64
  end
64
65
 
@@ -10,7 +10,7 @@ module ActiveRecord
10
10
  else
11
11
  # CPK
12
12
  #@finder_sql = "#{@reflection.quoted_table_name}.#{@reflection.primary_key_name} = #{owner_quoted_id}"
13
- @finder_sql = full_columns_equals(@reflection.quoted_table_name, @reflection.cpk_primary_key, owner_quoted_id)
13
+ @finder_sql = full_columns_equals(@reflection.table_name, @reflection.cpk_primary_key, owner_quoted_id)
14
14
  end
15
15
  @finder_sql << " AND (#{conditions})" if conditions
16
16
  end
@@ -1,27 +1,29 @@
1
- module ActiveRecord
2
- module Calculations
3
- def execute_simple_calculation(operation, column_name, distinct)
4
- # CPK changes
5
- if column_name.kind_of?(Array)
6
- columns = column_name.map do |primary_key_column|
7
- table[primary_key_column].to_sql
8
- end
9
- projection = "DISTINCT #{columns.join(',')}"
10
- subquery = "(#{table.project(projection).to_sql}) AS subquery"
11
- relation = Arel::Table.new(subquery).project(Arel::SqlLiteral.new('*').count)
12
- type_cast_calculated_value(@klass.connection.select_value(relation.to_sql),
13
- column_for(column_name.first), operation)
14
- else
15
- column = if @klass.column_names.include?(column_name.to_s)
16
- Arel::Attribute.new(@klass.unscoped, column_name)
17
- else
18
- Arel::SqlLiteral.new(column_name == :all ? "*" : column_name.to_s)
19
- end
1
+ # TODO - This code doesn't work with ActiveRecord 3.0.3...
20
2
 
21
- # Postgresql doesn't like ORDER BY when there are no GROUP BY
22
- relation = except(:order).select(operation == 'count' ? column.count(distinct) : column.send(operation))
23
- type_cast_calculated_value(@klass.connection.select_value(relation.to_sql), column_for(column_name), operation)
24
- end
25
- end
26
- end
27
- end
3
+ #module ActiveRecord
4
+ # module Calculations
5
+ # def execute_simple_calculation(operation, column_name, distinct)
6
+ # # CPK changes
7
+ # if column_name.kind_of?(Array)
8
+ # columns = column_name.map do |primary_key_column|
9
+ # table[primary_key_column].to_sql
10
+ # end
11
+ # projection = "DISTINCT #{columns.join(',')}"
12
+ # subquery = "(#{table.project(projection).to_sql}) AS subquery"
13
+ # relation = Arel::Table.new(subquery).project(Arel::SqlLiteral.new('*').count)
14
+ # type_cast_calculated_value(@klass.connection.select_value(relation.to_sql),
15
+ # column_for(column_name.first), operation)
16
+ # else
17
+ # column = if @klass.column_names.include?(column_name.to_s)
18
+ # Arel::Attribute.new(@klass.unscoped, column_name)
19
+ # else
20
+ # Arel::SqlLiteral.new(column_name == :all ? "*" : column_name.to_s)
21
+ # end
22
+ #
23
+ # # Postgresql doesn't like ORDER BY when there are no GROUP BY
24
+ # relation = except(:order).select(operation == 'count' ? column.count(distinct) : column.send(operation))
25
+ # type_cast_calculated_value(@klass.connection.select_value(relation.to_sql), column_for(column_name), operation)
26
+ # end
27
+ # end
28
+ # end
29
+ #end
@@ -2,7 +2,7 @@ require 'active_record/connection_adapters/sqlite_adapter'
2
2
 
3
3
  module ActiveRecord
4
4
  module ConnectionAdapters #:nodoc:
5
- class SQLite3Adapter < SQLiteAdapter # :nodoc:
5
+ class SQLite3Adapter # :nodoc:
6
6
  def supports_count_distinct? #:nodoc:
7
7
  false
8
8
  end
@@ -7,10 +7,10 @@ module CompositePrimaryKeys
7
7
 
8
8
  # CPK
9
9
  # values = @klass.connection.distinct("#{@klass.connection.quote_table_name @klass.table_name}.#{@klass.primary_key}", orders)
10
-
11
10
  keys = @klass.primary_keys.map do |key|
12
11
  "#{@klass.connection.quote_table_name @klass.table_name}.#{key}"
13
12
  end
13
+
14
14
  values = @klass.connection.distinct(keys.join(', '), orders)
15
15
 
16
16
  ids_array = relation.select(values).collect {|row| row[@klass.primary_key]}
@@ -25,10 +25,18 @@ module CompositePrimaryKeys
25
25
  and_expressions = [self.primary_keys, id_set].transpose.map do |key, id|
26
26
  table[key].eq(id)
27
27
  end
28
- Arel::Predicates::All.new(*and_expressions)
28
+
29
+ # Merge all the ands together
30
+ first = and_expressions.shift
31
+ Arel::Nodes::Grouping.new(and_expressions.inject(first) do |memo, expr|
32
+ Arel::Nodes::And.new(memo, expr)
33
+ end)
29
34
  end
30
35
 
31
- Arel::Predicates::Any.new(*or_expressions).to_sql
36
+ first = or_expressions.shift
37
+ Arel::Nodes::Grouping.new(or_expressions.inject(first) do |memo, expr|
38
+ Arel::Nodes::Or.new(memo, expr)
39
+ end)
32
40
  end
33
41
 
34
42
  def exists?(id = nil)
@@ -2,8 +2,7 @@ module CompositePrimaryKeys
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
- TINY = 0
6
- PATCH = 'b3'
7
- STRING = [MAJOR, MINOR, TINY, PATCH].join('.')
5
+ TINY = 3
6
+ STRING = [MAJOR, MINOR, TINY].join('.')
8
7
  end
9
8
  end
@@ -1,135 +1,141 @@
1
- # Logfile created on Sat Nov 06 22:39:48 -0600 2010 by logger.rb/22285
1
+ # Logfile created on Sat Nov 20 00:07:06 -0700 2010 by logger.rb/22285
2
2
  SQL (0.0ms) SHOW client_min_messages
3
3
  SQL (0.0ms) SET client_min_messages TO 'panic'
4
4
  SQL (0.0ms) SET standard_conforming_strings = on
5
- SQL (0.0ms) SET client_min_messages TO 'notice'
6
- SQL (1.0ms) SHOW TIME ZONE
7
- SQL (0.0ms) SHOW client_min_messages
8
- SQL (1.0ms) SET client_min_messages TO 'panic'
9
- SQL (0.0ms) SET standard_conforming_strings = on
10
- SQL (0.0ms) SET client_min_messages TO 'notice'
5
+ SQL (1.0ms) SET client_min_messages TO 'notice'
11
6
  SQL (0.0ms) SHOW TIME ZONE
12
- PGError: ERROR: column suburbs.city_idsuburb_id does not exist
13
- LINE 1: ...T "suburbs".* FROM "suburbs" ORDER BY suburbs.ci...
14
- ^
15
- : SELECT "suburbs".* FROM "suburbs" ORDER BY suburbs.city_idsuburb_id DESC LIMIT 1
16
7
  SQL (0.0ms) SHOW client_min_messages
17
8
  SQL (0.0ms) SET client_min_messages TO 'panic'
18
9
  SQL (0.0ms) SET standard_conforming_strings = on
19
10
  SQL (0.0ms) SET client_min_messages TO 'notice'
20
11
  SQL (0.0ms) SHOW TIME ZONE
21
- PGError: ERROR: column suburbs.city_idsuburb_id does not exist
22
- LINE 1: ...T "suburbs".* FROM "suburbs" ORDER BY suburbs.ci...
23
- ^
24
- : SELECT "suburbs".* FROM "suburbs" ORDER BY suburbs.city_idsuburb_id DESC LIMIT 1
12
+ PGError: ERROR: operator does not exist: character varying = integer
13
+ LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
14
+ ^
15
+ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
16
+ : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
25
17
  SQL (1.0ms) SHOW client_min_messages
26
- SQL (0.0ms) SET client_min_messages TO 'panic'
27
- SQL (0.0ms) SET standard_conforming_strings = on
28
- SQL (0.0ms) SET client_min_messages TO 'notice'
29
- SQL (0.0ms) SHOW TIME ZONE
30
- PGError: ERROR: column suburbs.city_idsuburb_id does not exist
31
- LINE 1: ...T "suburbs".* FROM "suburbs" ORDER BY suburbs.ci...
32
- ^
33
- : SELECT "suburbs".* FROM "suburbs" ORDER BY suburbs.city_idsuburb_id DESC LIMIT 1
34
- SQL (0.0ms) SHOW client_min_messages
35
18
  SQL (1.0ms) SET client_min_messages TO 'panic'
36
19
  SQL (0.0ms) SET standard_conforming_strings = on
37
20
  SQL (0.0ms) SET client_min_messages TO 'notice'
38
- SQL (0.0ms) SHOW TIME ZONE
39
- SQL (0.0ms) SHOW client_min_messages
40
- SQL (0.0ms) SET client_min_messages TO 'panic'
41
- SQL (0.0ms) SET standard_conforming_strings = on
42
- SQL (0.0ms) SET client_min_messages TO 'notice'
43
- SQL (0.0ms) SHOW TIME ZONE
44
- SQL (0.0ms) SHOW client_min_messages
45
- SQL (0.0ms) SET client_min_messages TO 'panic'
21
+ SQL (1.0ms) SHOW TIME ZONE
22
+ PGError: ERROR: operator does not exist: character varying = integer
23
+ LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
24
+ ^
25
+ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
26
+ : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
27
+ SQL (1.0ms) SHOW client_min_messages
28
+ SQL (1.0ms) SET client_min_messages TO 'panic'
46
29
  SQL (0.0ms) SET standard_conforming_strings = on
47
- SQL (0.0ms) SET client_min_messages TO 'notice'
30
+ SQL (1.0ms) SET client_min_messages TO 'notice'
48
31
  SQL (0.0ms) SHOW TIME ZONE
32
+ PGError: ERROR: column "rooms.dorm_id" must appear in the GROUP BY clause or be used in an aggregate function
33
+ LINE 1: SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_ass...
34
+ ^
35
+ : SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_assignments" ON ("rooms"."dorm_id" = "room_assignments"."dorm_id" AND "rooms"."room_id" = "room_assignments"."room_id") WHERE (("room_assignments".student_id = 1))
36
+ PGError: ERROR: operator does not exist: character varying = integer
37
+ LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
38
+ ^
39
+ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
40
+ : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
49
41
  SQL (0.0ms) SHOW client_min_messages
50
42
  SQL (0.0ms) SET client_min_messages TO 'panic'
51
- SQL (0.0ms) SET standard_conforming_strings = on
43
+ SQL (1.0ms) SET standard_conforming_strings = on
52
44
  SQL (0.0ms) SET client_min_messages TO 'notice'
53
45
  SQL (0.0ms) SHOW TIME ZONE
54
- PGError: ERROR: column suburbs.suburb_iddesc does not exist
55
- LINE 1: ... FROM "suburbs" ORDER BY suburbs.city_id, suburbs.su...
56
- ^
57
- : SELECT "suburbs".* FROM "suburbs" ORDER BY suburbs.city_id, suburbs.suburb_idDESC LIMIT 1
46
+ PGError: ERROR: column "rooms.dorm_id" must appear in the GROUP BY clause or be used in an aggregate function
47
+ LINE 1: SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_ass...
48
+ ^
49
+ : SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_assignments" ON ("rooms"."dorm_id" = "room_assignments"."dorm_id" AND "rooms"."room_id" = "room_assignments"."room_id") WHERE (("room_assignments".student_id = 1))
58
50
  SQL (0.0ms) SHOW client_min_messages
59
51
  SQL (0.0ms) SET client_min_messages TO 'panic'
60
52
  SQL (0.0ms) SET standard_conforming_strings = on
61
53
  SQL (0.0ms) SET client_min_messages TO 'notice'
62
54
  SQL (0.0ms) SHOW TIME ZONE
55
+ PGError: ERROR: column "rooms.dorm_id" must appear in the GROUP BY clause or be used in an aggregate function
56
+ LINE 1: SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_ass...
57
+ ^
58
+ : SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_assignments" ON ("rooms"."dorm_id" = "room_assignments"."dorm_id" AND "rooms"."room_id" = "room_assignments"."room_id") WHERE (("room_assignments".student_id = 1))
63
59
  SQL (1.0ms) SHOW client_min_messages
64
- SQL (0.0ms) SET client_min_messages TO 'panic'
60
+ SQL (1.0ms) SET client_min_messages TO 'panic'
65
61
  SQL (0.0ms) SET standard_conforming_strings = on
66
62
  SQL (0.0ms) SET client_min_messages TO 'notice'
67
63
  SQL (1.0ms) SHOW TIME ZONE
64
+ PGError: ERROR: column "rooms.dorm_id" must appear in the GROUP BY clause or be used in an aggregate function
65
+ LINE 1: SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_ass...
66
+ ^
67
+ : SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_assignments" ON ("rooms"."dorm_id" = "room_assignments"."dorm_id" AND "rooms"."room_id" = "room_assignments"."room_id") WHERE (("room_assignments".student_id = 1))
68
68
  SQL (0.0ms) SHOW client_min_messages
69
69
  SQL (0.0ms) SET client_min_messages TO 'panic'
70
- SQL (1.0ms) SET standard_conforming_strings = on
71
- SQL (0.0ms) SET client_min_messages TO 'notice'
72
- SQL (1.0ms) SHOW TIME ZONE
73
- SQL (0.0ms) SHOW client_min_messages
74
- SQL (1.0ms) SET client_min_messages TO 'panic'
75
70
  SQL (0.0ms) SET standard_conforming_strings = on
76
71
  SQL (0.0ms) SET client_min_messages TO 'notice'
77
72
  SQL (0.0ms) SHOW TIME ZONE
78
- SQL (0.0ms) SHOW client_min_messages
79
- SQL (0.0ms) SET client_min_messages TO 'panic'
80
- SQL (0.0ms) SET standard_conforming_strings = on
81
- SQL (1.0ms) SET client_min_messages TO 'notice'
82
- SQL (0.0ms) SHOW TIME ZONE
73
+ PGError: ERROR: column "rooms.dorm_id" must appear in the GROUP BY clause or be used in an aggregate function
74
+ LINE 1: SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_ass...
75
+ ^
76
+ : SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_assignments" ON ("rooms"."dorm_id" = "room_assignments"."dorm_id" AND "rooms"."room_id" = "room_assignments"."room_id") WHERE (("room_assignments".student_id = 1))
83
77
  SQL (0.0ms) SHOW client_min_messages
84
78
  SQL (0.0ms) SET client_min_messages TO 'panic'
85
79
  SQL (1.0ms) SET standard_conforming_strings = on
86
80
  SQL (0.0ms) SET client_min_messages TO 'notice'
87
81
  SQL (0.0ms) SHOW TIME ZONE
82
+ PGError: ERROR: column "rooms.dorm_id" must appear in the GROUP BY clause or be used in an aggregate function
83
+ LINE 1: SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_ass...
84
+ ^
85
+ : SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_assignments" ON ("rooms"."dorm_id" = "room_assignments"."dorm_id" AND "rooms"."room_id" = "room_assignments"."room_id") WHERE (("room_assignments".student_id = 1))
88
86
  SQL (0.0ms) SHOW client_min_messages
89
- SQL (1.0ms) SET client_min_messages TO 'panic'
87
+ SQL (0.0ms) SET client_min_messages TO 'panic'
90
88
  SQL (0.0ms) SET standard_conforming_strings = on
91
89
  SQL (0.0ms) SET client_min_messages TO 'notice'
92
- SQL (0.0ms) SHOW TIME ZONE
90
+ SQL (1.0ms) SHOW TIME ZONE
91
+ PGError: ERROR: column "rooms.dorm_id" must appear in the GROUP BY clause or be used in an aggregate function
92
+ LINE 1: SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_ass...
93
+ ^
94
+ : SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_assignments" ON ("rooms"."dorm_id" = "room_assignments"."dorm_id" AND "rooms"."room_id" = "room_assignments"."room_id") WHERE (("room_assignments".student_id = 1))
93
95
  SQL (1.0ms) SHOW client_min_messages
94
- SQL (1.0ms) SET client_min_messages TO 'panic'
96
+ SQL (0.0ms) SET client_min_messages TO 'panic'
95
97
  SQL (0.0ms) SET standard_conforming_strings = on
96
- SQL (0.0ms) SET client_min_messages TO 'notice'
98
+ SQL (1.0ms) SET client_min_messages TO 'notice'
97
99
  SQL (0.0ms) SHOW TIME ZONE
100
+ PGError: ERROR: column "rooms.dorm_id" must appear in the GROUP BY clause or be used in an aggregate function
101
+ LINE 1: SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_ass...
102
+ ^
103
+ : SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_assignments" ON ("rooms"."dorm_id" = "room_assignments"."dorm_id" AND "rooms"."room_id" = "room_assignments"."room_id") WHERE (("room_assignments".student_id = 1))
98
104
  SQL (0.0ms) SHOW client_min_messages
99
105
  SQL (0.0ms) SET client_min_messages TO 'panic'
100
106
  SQL (0.0ms) SET standard_conforming_strings = on
101
107
  SQL (0.0ms) SET client_min_messages TO 'notice'
102
108
  SQL (0.0ms) SHOW TIME ZONE
109
+ PGError: ERROR: column "rooms.dorm_id" must appear in the GROUP BY clause or be used in an aggregate function
110
+ LINE 1: SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_ass...
111
+ ^
112
+ : SELECT "rooms".*, COUNT(*) FROM "rooms" INNER JOIN "room_assignments" ON ("rooms"."dorm_id" = "room_assignments"."dorm_id" AND "rooms"."room_id" = "room_assignments"."room_id") WHERE (("room_assignments".student_id = 1))
103
113
  SQL (0.0ms) SHOW client_min_messages
104
114
  SQL (0.0ms) SET client_min_messages TO 'panic'
105
115
  SQL (0.0ms) SET standard_conforming_strings = on
106
116
  SQL (0.0ms) SET client_min_messages TO 'notice'
107
- SQL (1.0ms) SHOW TIME ZONE
108
- SQL (0.0ms) SHOW client_min_messages
117
+ SQL (0.0ms) SHOW TIME ZONE
118
+ SQL (1.0ms) SHOW client_min_messages
109
119
  SQL (0.0ms) SET client_min_messages TO 'panic'
110
120
  SQL (0.0ms) SET standard_conforming_strings = on
111
- SQL (0.0ms) SET client_min_messages TO 'notice'
121
+ SQL (1.0ms) SET client_min_messages TO 'notice'
112
122
  SQL (0.0ms) SHOW TIME ZONE
113
- SQL (1.0ms) SHOW client_min_messages
123
+ SQL (0.0ms) SHOW client_min_messages
114
124
  SQL (0.0ms) SET client_min_messages TO 'panic'
115
125
  SQL (0.0ms) SET standard_conforming_strings = on
116
126
  SQL (1.0ms) SET client_min_messages TO 'notice'
117
127
  SQL (0.0ms) SHOW TIME ZONE
118
128
  SQL (1.0ms) SHOW client_min_messages
119
129
  SQL (0.0ms) SET client_min_messages TO 'panic'
120
- SQL (1.0ms) SET standard_conforming_strings = on
130
+ SQL (0.0ms) SET standard_conforming_strings = on
121
131
  SQL (0.0ms) SET client_min_messages TO 'notice'
122
132
  SQL (0.0ms) SHOW TIME ZONE
123
- SQL (0.0ms) SHOW client_min_messages
124
- SQL (0.0ms) SET client_min_messages TO 'panic'
133
+ SQL (1.0ms) SHOW client_min_messages
134
+ SQL (1.0ms) SET client_min_messages TO 'panic'
125
135
  SQL (0.0ms) SET standard_conforming_strings = on
126
136
  SQL (0.0ms) SET client_min_messages TO 'notice'
127
137
  SQL (1.0ms) SHOW TIME ZONE
128
- PGError: ERROR: column memberships.user_idgroup_id does not exist
129
- LINE 1: SELECT "memberships"."user_idgroup_id" AS t0_r0, "member...
130
- ^
131
- : SELECT "memberships"."user_idgroup_id" AS t0_r0, "memberships"."user_id" AS t0_r1, "memberships"."group_id" AS t0_r2, "membership_statuses"."id" AS t1_r0, "membership_statuses"."user_id" AS t1_r1, "membership_statuses"."group_id" AS t1_r2, "membership_statuses"."status" AS t1_r3 FROM "memberships" LEFT OUTER JOIN "membership_statuses" ON "membership_statuses"."user_id" = "memberships"."user_id" AND "membership_statuses"."group_id" = "memberships"."group_id" WHERE (membership_statuses.status = 'Active')
132
- SQL (0.0ms) SHOW client_min_messages
138
+ SQL (1.0ms) SHOW client_min_messages
133
139
  SQL (0.0ms) SET client_min_messages TO 'panic'
134
140
  SQL (0.0ms) SET standard_conforming_strings = on
135
141
  SQL (1.0ms) SET client_min_messages TO 'notice'
@@ -137,14 +143,19 @@ LINE 1: SELECT "memberships"."user_idgroup_id" AS t0_r0, "member...
137
143
  SQL (0.0ms) SHOW client_min_messages
138
144
  SQL (0.0ms) SET client_min_messages TO 'panic'
139
145
  SQL (0.0ms) SET standard_conforming_strings = on
140
- SQL (1.0ms) SET client_min_messages TO 'notice'
146
+ SQL (0.0ms) SET client_min_messages TO 'notice'
141
147
  SQL (0.0ms) SHOW TIME ZONE
142
148
  SQL (0.0ms) SHOW client_min_messages
143
149
  SQL (0.0ms) SET client_min_messages TO 'panic'
144
150
  SQL (0.0ms) SET standard_conforming_strings = on
145
151
  SQL (0.0ms) SET client_min_messages TO 'notice'
146
152
  SQL (0.0ms) SHOW TIME ZONE
147
- SQL (0.0ms) SHOW client_min_messages
153
+ SQL (1.0ms) SHOW client_min_messages
154
+ SQL (0.0ms) SET client_min_messages TO 'panic'
155
+ SQL (1.0ms) SET standard_conforming_strings = on
156
+ SQL (1.0ms) SET client_min_messages TO 'notice'
157
+ SQL (1.0ms) SHOW TIME ZONE
158
+ SQL (1.0ms) SHOW client_min_messages
148
159
  SQL (0.0ms) SET client_min_messages TO 'panic'
149
160
  SQL (0.0ms) SET standard_conforming_strings = on
150
161
  SQL (0.0ms) SET client_min_messages TO 'notice'
@@ -154,16 +165,28 @@ LINE 1: SELECT "memberships"."user_idgroup_id" AS t0_r0, "member...
154
165
  SQL (0.0ms) SET standard_conforming_strings = on
155
166
  SQL (0.0ms) SET client_min_messages TO 'notice'
156
167
  SQL (0.0ms) SHOW TIME ZONE
157
- SQL (0.0ms) SHOW client_min_messages
168
+ PGError: ERROR: schema "(SELECT DISTINCT "tariffs"" does not exist
169
+ LINE 1: SELECT COUNT(*) FROM "(SELECT DISTINCT ""tariffs"""."tariff_...
170
+ ^
171
+ : SELECT COUNT(*) FROM "(SELECT DISTINCT ""tariffs"""."tariff_id"
172
+ SQL (1.0ms) SHOW client_min_messages
158
173
  SQL (0.0ms) SET client_min_messages TO 'panic'
159
- SQL (0.0ms) SET standard_conforming_strings = on
160
- SQL (0.0ms) SET client_min_messages TO 'notice'
174
+ SQL (1.0ms) SET standard_conforming_strings = on
175
+ SQL (1.0ms) SET client_min_messages TO 'notice'
161
176
  SQL (0.0ms) SHOW TIME ZONE
177
+ PGError: ERROR: schema "(SELECT DISTINCT "tariffs"" does not exist
178
+ LINE 1: SELECT COUNT(*) FROM "(SELECT DISTINCT ""tariffs"""."tariff_...
179
+ ^
180
+ : SELECT COUNT(*) FROM "(SELECT DISTINCT ""tariffs"""."tariff_id"
162
181
  SQL (0.0ms) SHOW client_min_messages
163
182
  SQL (0.0ms) SET client_min_messages TO 'panic'
164
183
  SQL (0.0ms) SET standard_conforming_strings = on
165
184
  SQL (0.0ms) SET client_min_messages TO 'notice'
166
185
  SQL (1.0ms) SHOW TIME ZONE
186
+ PGError: ERROR: schema "(SELECT DISTINCT "tariffs"" does not exist
187
+ LINE 1: SELECT COUNT(*) FROM "(SELECT DISTINCT ""tariffs"""."tariff_...
188
+ ^
189
+ : SELECT COUNT(*) FROM "(SELECT DISTINCT ""tariffs"""."tariff_id"
167
190
  SQL (0.0ms) SHOW client_min_messages
168
191
  SQL (0.0ms) SET client_min_messages TO 'panic'
169
192
  SQL (0.0ms) SET standard_conforming_strings = on
@@ -172,61 +195,46 @@ LINE 1: SELECT "memberships"."user_idgroup_id" AS t0_r0, "member...
172
195
  SQL (0.0ms) SHOW client_min_messages
173
196
  SQL (0.0ms) SET client_min_messages TO 'panic'
174
197
  SQL (0.0ms) SET standard_conforming_strings = on
175
- SQL (0.0ms) SET client_min_messages TO 'notice'
176
- SQL (0.0ms) SHOW TIME ZONE
177
- SQL (0.0ms) SHOW client_min_messages
178
- SQL (0.0ms) SET client_min_messages TO 'panic'
179
- SQL (1.0ms) SET standard_conforming_strings = on
180
- SQL (0.0ms) SET client_min_messages TO 'notice'
198
+ SQL (1.0ms) SET client_min_messages TO 'notice'
181
199
  SQL (0.0ms) SHOW TIME ZONE
182
200
  SQL (0.0ms) SHOW client_min_messages
183
201
  SQL (0.0ms) SET client_min_messages TO 'panic'
184
202
  SQL (0.0ms) SET standard_conforming_strings = on
185
203
  SQL (0.0ms) SET client_min_messages TO 'notice'
186
204
  SQL (0.0ms) SHOW TIME ZONE
187
- SQL (1.0ms) SHOW client_min_messages
188
- SQL (0.0ms) SET client_min_messages TO 'panic'
189
- SQL (1.0ms) SET standard_conforming_strings = on
190
- SQL (1.0ms) SET client_min_messages TO 'notice'
191
- SQL (0.0ms) SHOW TIME ZONE
192
- SQL (1.0ms) SHOW client_min_messages
193
- SQL (0.0ms) SET client_min_messages TO 'panic'
194
- SQL (0.0ms) SET standard_conforming_strings = on
195
- SQL (1.0ms) SET client_min_messages TO 'notice'
196
- SQL (0.0ms) SHOW TIME ZONE
197
- SQL (1.0ms) SHOW client_min_messages
205
+ TypeError: wrong argument type Arel::SelectManager (expected String): #<Arel::SelectManager:0x59f0df0>
198
206
  SQL (1.0ms) SHOW client_min_messages
199
207
  SQL (1.0ms) SET client_min_messages TO 'panic'
200
208
  SQL (0.0ms) SET standard_conforming_strings = on
201
209
  SQL (0.0ms) SET client_min_messages TO 'notice'
202
- SQL (0.0ms) SHOW TIME ZONE
203
- PGError: ERROR: column memberships.user_idgroup_id does not exist
204
- LINE 1: SELECT DISTINCT "memberships".user_idgroup_id FROM ...
205
- ^
206
- : SELECT DISTINCT "memberships".user_idgroup_id FROM "memberships" LEFT OUTER JOIN "membership_statuses" ON "membership_statuses"."user_id" = "memberships"."user_id" AND "membership_statuses"."group_id" = "memberships"."group_id" WHERE (membership_statuses.status = 'Active') LIMIT 1
210
+ SQL (1.0ms) SHOW TIME ZONE
207
211
  SQL (0.0ms) SHOW client_min_messages
208
212
  SQL (0.0ms) SET client_min_messages TO 'panic'
209
213
  SQL (0.0ms) SET standard_conforming_strings = on
210
214
  SQL (0.0ms) SET client_min_messages TO 'notice'
211
- SQL (0.0ms) SHOW TIME ZONE
215
+ SQL (1.0ms) SHOW TIME ZONE
212
216
  SQL (0.0ms) SHOW client_min_messages
213
217
  SQL (0.0ms) SET client_min_messages TO 'panic'
214
- SQL (0.0ms) SET standard_conforming_strings = on
218
+ SQL (1.0ms) SET standard_conforming_strings = on
215
219
  SQL (0.0ms) SET client_min_messages TO 'notice'
216
220
  SQL (0.0ms) SHOW TIME ZONE
217
221
  SQL (1.0ms) SHOW client_min_messages
218
222
  SQL (0.0ms) SET client_min_messages TO 'panic'
219
- SQL (0.0ms) SET standard_conforming_strings = on
223
+ SQL (1.0ms) SET standard_conforming_strings = on
220
224
  SQL (0.0ms) SET client_min_messages TO 'notice'
221
225
  SQL (0.0ms) SHOW TIME ZONE
226
+ PGError: ERROR: column "i" does not exist
227
+ LINE 1: SELECT COUNT(DISTINCT i) FROM "products" LEFT OUTER JOIN "pr...
228
+ ^
229
+ : SELECT COUNT(DISTINCT i) FROM "products" LEFT OUTER JOIN "product_tariffs" ON "product_tariffs"."product_id" = "products"."id"
222
230
  SQL (1.0ms) SHOW client_min_messages
223
231
  SQL (1.0ms) SET client_min_messages TO 'panic'
224
232
  SQL (0.0ms) SET standard_conforming_strings = on
225
233
  SQL (0.0ms) SET client_min_messages TO 'notice'
226
234
  SQL (0.0ms) SHOW TIME ZONE
227
- SQL (0.0ms) SHOW client_min_messages
228
- SQL (0.0ms) SET client_min_messages TO 'panic'
229
- SQL (1.0ms) SET standard_conforming_strings = on
235
+ SQL (1.0ms) SHOW client_min_messages
236
+ SQL (1.0ms) SET client_min_messages TO 'panic'
237
+ SQL (0.0ms) SET standard_conforming_strings = on
230
238
  SQL (0.0ms) SET client_min_messages TO 'notice'
231
239
  SQL (0.0ms) SHOW TIME ZONE
232
240
  SQL (0.0ms) SHOW client_min_messages
@@ -238,34 +246,37 @@ LINE 1: SELECT DISTINCT "memberships".user_idgroup_id FROM ...
238
246
  SQL (0.0ms) SET client_min_messages TO 'panic'
239
247
  SQL (0.0ms) SET standard_conforming_strings = on
240
248
  SQL (0.0ms) SET client_min_messages TO 'notice'
241
- SQL (1.0ms) SHOW TIME ZONE
242
- SQL (2.0ms) SHOW client_min_messages
243
- SQL (0.0ms) SET client_min_messages TO 'panic'
244
- SQL (0.0ms) SET standard_conforming_strings = on
245
- SQL (0.0ms) SET client_min_messages TO 'notice'
246
249
  SQL (0.0ms) SHOW TIME ZONE
250
+ PGError: ERROR: column "tariff_idstart_date" does not exist
251
+ LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
252
+ ^
253
+ : SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LEFT OUTER JOIN "product_tariffs" ON "product_tariffs"."tariff_id" = "tariffs"."tariff_id" AND "product_tariffs"."tariff_start_date" = "tariffs"."start_date"
247
254
  SQL (0.0ms) SHOW client_min_messages
248
255
  SQL (0.0ms) SET client_min_messages TO 'panic'
249
256
  SQL (0.0ms) SET standard_conforming_strings = on
250
257
  SQL (0.0ms) SET client_min_messages TO 'notice'
251
258
  SQL (0.0ms) SHOW TIME ZONE
252
- SQL (1.0ms) SHOW client_min_messages
253
- SQL (1.0ms) SET client_min_messages TO 'panic'
259
+ PGError: ERROR: column "tariff_idstart_date" does not exist
260
+ LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
261
+ ^
262
+ : SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LEFT OUTER JOIN "product_tariffs" ON "product_tariffs"."tariff_id" = "tariffs"."tariff_id" AND "product_tariffs"."tariff_start_date" = "tariffs"."start_date"
263
+ PGError: ERROR: operator does not exist: character varying = integer
264
+ LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
265
+ ^
266
+ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
267
+ : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
268
+ SQL (0.0ms) SHOW client_min_messages
269
+ SQL (0.0ms) SET client_min_messages TO 'panic'
254
270
  SQL (0.0ms) SET standard_conforming_strings = on
255
271
  SQL (0.0ms) SET client_min_messages TO 'notice'
256
272
  SQL (0.0ms) SHOW TIME ZONE
257
273
  SQL (0.0ms) SHOW client_min_messages
258
- SQL (0.0ms) SET client_min_messages TO 'panic'
274
+ SQL (1.0ms) SET client_min_messages TO 'panic'
259
275
  SQL (0.0ms) SET standard_conforming_strings = on
260
276
  SQL (0.0ms) SET client_min_messages TO 'notice'
261
- SQL (0.0ms) SHOW TIME ZONE
277
+ SQL (1.0ms) SHOW TIME ZONE
262
278
  SQL (0.0ms) SHOW client_min_messages
263
279
  SQL (0.0ms) SET client_min_messages TO 'panic'
264
- SQL (1.0ms) SET standard_conforming_strings = on
265
- SQL (1.0ms) SET client_min_messages TO 'notice'
266
- SQL (0.0ms) SHOW TIME ZONE
267
- SQL (1.0ms) SHOW client_min_messages
268
- SQL (0.0ms) SET client_min_messages TO 'panic'
269
280
  SQL (0.0ms) SET standard_conforming_strings = on
270
281
  SQL (0.0ms) SET client_min_messages TO 'notice'
271
282
  SQL (0.0ms) SHOW TIME ZONE
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: composite_primary_keys
3
3
  version: !ruby/object:Gem::Version
4
- hash: 6629741
5
- prerelease: true
4
+ hash: 1
5
+ prerelease: false
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 0
10
- - b3
11
- version: 3.0.0.b3
9
+ - 3
10
+ version: 3.0.3
12
11
  platform: ruby
13
12
  authors:
14
13
  - Dr Nic Williams
@@ -17,7 +16,7 @@ autorequire:
17
16
  bindir: bin
18
17
  cert_chain: []
19
18
 
20
- date: 2010-11-07 00:00:00 -06:00
19
+ date: 2010-11-20 00:00:00 -07:00
21
20
  default_executable:
22
21
  dependencies:
23
22
  - !ruby/object:Gem::Dependency
@@ -28,12 +27,12 @@ dependencies:
28
27
  requirements:
29
28
  - - ">="
30
29
  - !ruby/object:Gem::Version
31
- hash: 5
30
+ hash: 1
32
31
  segments:
33
32
  - 3
34
33
  - 0
35
- - 1
36
- version: 3.0.1
34
+ - 3
35
+ version: 3.0.3
37
36
  type: :runtime
38
37
  version_requirements: *id001
39
38
  - !ruby/object:Gem::Dependency
@@ -126,7 +125,6 @@ files:
126
125
  - test/fixtures/db_definitions/oracle.sql
127
126
  - test/fixtures/db_definitions/postgresql.sql
128
127
  - test/fixtures/db_definitions/sqlite.sql
129
- - test/fixtures/debug.log
130
128
  - test/fixtures/department.rb
131
129
  - test/fixtures/departments.yml
132
130
  - test/fixtures/dorm.rb
@@ -221,14 +219,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
221
219
  required_rubygems_version: !ruby/object:Gem::Requirement
222
220
  none: false
223
221
  requirements:
224
- - - ">"
222
+ - - ">="
225
223
  - !ruby/object:Gem::Version
226
- hash: 25
224
+ hash: 3
227
225
  segments:
228
- - 1
229
- - 3
230
- - 1
231
- version: 1.3.1
226
+ - 0
227
+ version: "0"
232
228
  requirements: []
233
229
 
234
230
  rubyforge_project: compositekeys
@@ -1,133 +0,0 @@
1
- # Logfile created on 2010-05-01 19:19:57 -0600 by logger.rb/25413
2
- PGError: ERROR: column employees.department_id,location_id does not exist
3
- LINE 1: ...s" SET "department_id,location_id" = NULL WHERE ("employees...
4
- ^
5
- : UPDATE "employees" SET "department_id,location_id" = NULL WHERE ("employees"."department_id,location_id" = (1, 1) AND "employees"."id" IN (1, 2))
6
- PGError: ERROR: column employees.department_id,location_id does not exist
7
- LINE 1: ...s" SET "department_id,location_id" = NULL WHERE ("employees...
8
- ^
9
- : UPDATE "employees" SET "department_id,location_id" = NULL WHERE ("employees"."department_id,location_id" = (1, 1) AND "employees"."id" IN (1))
10
- SQL (0.0ms) SHOW client_min_messages
11
- SQL (0.0ms) SET client_min_messages TO 'panic'
12
- SQL (0.0ms) SET standard_conforming_strings = on
13
- SQL (0.0ms) SET client_min_messages TO 'notice'
14
- SQL (0.0ms) SHOW TIME ZONE
15
- SQL (3.0ms) SELECT tablename
16
- FROM pg_tables
17
- WHERE schemaname = ANY (current_schemas(false))
18
-
19
- ReferenceCode Load (1.0ms) SELECT "reference_codes".* FROM "reference_codes" ORDER BY reference_type_id,reference_code LIMIT 1
20
- SQL (4.0ms) SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
21
- FROM pg_attribute a LEFT JOIN pg_attrdef d
22
- ON a.attrelid = d.adrelid AND a.attnum = d.adnum
23
- WHERE a.attrelid = '"reference_codes"'::regclass
24
- AND a.attnum > 0 AND NOT a.attisdropped
25
- ORDER BY a.attnum
26
-
27
- ReferenceCode Load (1.0ms) SELECT "reference_codes".* FROM "reference_codes" WHERE ("reference_codes"."reference_type_id" = 1) AND ("reference_codes"."reference_code" = 1)
28
- ReferenceCode Load (2.0ms) SELECT "reference_codes".* FROM "reference_codes" ORDER BY reference_type_id,reference_code LIMIT 1
29
- ReferenceCode Load (1.0ms) SELECT "reference_codes".* FROM "reference_codes" WHERE ("reference_codes"."reference_type_id" = 1) AND ("reference_codes"."reference_code" = 1)
30
- ReferenceCode Load (7.0ms) SELECT "reference_codes".* FROM "reference_codes" ORDER BY reference_type_id,reference_code LIMIT 1
31
- ReferenceCode Load (1.0ms) SELECT "reference_codes".* FROM "reference_codes" LIMIT 1
32
- ReferenceCode Load (1.0ms) SELECT "reference_codes".* FROM "reference_codes"
33
- ReferenceCode Load (1.0ms) SELECT "reference_codes".* FROM "reference_codes" ORDER BY reference_type_id,reference_code LIMIT 1
34
- SQL (0.0ms) SHOW client_min_messages
35
- SQL (0.0ms) SET client_min_messages TO 'panic'
36
- SQL (0.0ms) SET standard_conforming_strings = on
37
- SQL (0.0ms) SET client_min_messages TO 'notice'
38
- SQL (0.0ms) SHOW TIME ZONE
39
- SQL (0.0ms) SHOW client_min_messages
40
- SQL (0.0ms) SET client_min_messages TO 'panic'
41
- SQL (0.0ms) SET standard_conforming_strings = on
42
- SQL (1.0ms) SET client_min_messages TO 'notice'
43
- SQL (0.0ms) SHOW TIME ZONE
44
- SQL (1.0ms) SHOW client_min_messages
45
- SQL (0.0ms) SET client_min_messages TO 'panic'
46
- SQL (0.0ms) SET standard_conforming_strings = on
47
- SQL (0.0ms) SET client_min_messages TO 'notice'
48
- SQL (0.0ms) SHOW TIME ZONE
49
- SQL (1.0ms) SHOW client_min_messages
50
- SQL (0.0ms) SET client_min_messages TO 'panic'
51
- SQL (0.0ms) SET standard_conforming_strings = on
52
- SQL (0.0ms) SET client_min_messages TO 'notice'
53
- SQL (0.0ms) SHOW TIME ZONE
54
- SQL (0.0ms) SHOW client_min_messages
55
- SQL (0.0ms) SET client_min_messages TO 'panic'
56
- SQL (0.0ms) SET standard_conforming_strings = on
57
- SQL (0.0ms) SET client_min_messages TO 'notice'
58
- SQL (0.0ms) SHOW TIME ZONE
59
- SQL (0.0ms) SHOW client_min_messages
60
- SQL (0.0ms) SET client_min_messages TO 'panic'
61
- SQL (0.0ms) SET standard_conforming_strings = on
62
- SQL (1.0ms) SET client_min_messages TO 'notice'
63
- SQL (0.0ms) SHOW TIME ZONE
64
- SQL (1.0ms) SHOW client_min_messages
65
- SQL (1.0ms) SET client_min_messages TO 'panic'
66
- SQL (0.0ms) SET standard_conforming_strings = on
67
- SQL (0.0ms) SET client_min_messages TO 'notice'
68
- SQL (0.0ms) SHOW TIME ZONE
69
- SQL (0.0ms) SHOW client_min_messages
70
- SQL (0.0ms) SET client_min_messages TO 'panic'
71
- SQL (0.0ms) SET standard_conforming_strings = on
72
- SQL (0.0ms) SET client_min_messages TO 'notice'
73
- SQL (0.0ms) SHOW TIME ZONE
74
- SQL (0.0ms) SHOW client_min_messages
75
- SQL (0.0ms) SET client_min_messages TO 'panic'
76
- SQL (0.0ms) SET standard_conforming_strings = on
77
- SQL (0.0ms) SET client_min_messages TO 'notice'
78
- SQL (1.0ms) SHOW TIME ZONE
79
- SQL (1.0ms) SHOW client_min_messages
80
- SQL (0.0ms) SET client_min_messages TO 'panic'
81
- SQL (1.0ms) SET standard_conforming_strings = on
82
- SQL (0.0ms) SET client_min_messages TO 'notice'
83
- SQL (0.0ms) SHOW TIME ZONE
84
- SQL (1.0ms) SHOW client_min_messages
85
- SQL (0.0ms) SET client_min_messages TO 'panic'
86
- SQL (0.0ms) SET standard_conforming_strings = on
87
- SQL (0.0ms) SET client_min_messages TO 'notice'
88
- SQL (1.0ms) SHOW TIME ZONE
89
- SQL (0.0ms) SHOW client_min_messages
90
- SQL (0.0ms) SET client_min_messages TO 'panic'
91
- SQL (1.0ms) SET standard_conforming_strings = on
92
- SQL (0.0ms) SET client_min_messages TO 'notice'
93
- SQL (1.0ms) SHOW TIME ZONE
94
- SQL (1.0ms) SHOW client_min_messages
95
- SQL (1.0ms) SET client_min_messages TO 'panic'
96
- SQL (0.0ms) SET standard_conforming_strings = on
97
- SQL (0.0ms) SET client_min_messages TO 'notice'
98
- SQL (1.0ms) SHOW TIME ZONE
99
- SQL (0.0ms) SHOW client_min_messages
100
- SQL (0.0ms) SET client_min_messages TO 'panic'
101
- SQL (0.0ms) SET standard_conforming_strings = on
102
- SQL (0.0ms) SET client_min_messages TO 'notice'
103
- SQL (0.0ms) SHOW TIME ZONE
104
- SQL (0.0ms) SHOW client_min_messages
105
- SQL (0.0ms) SET client_min_messages TO 'panic'
106
- SQL (0.0ms) SET standard_conforming_strings = on
107
- SQL (0.0ms) SET client_min_messages TO 'notice'
108
- SQL (1.0ms) SHOW TIME ZONE
109
- SQL (0.0ms) SHOW client_min_messages
110
- SQL (0.0ms) SET client_min_messages TO 'panic'
111
- SQL (0.0ms) SET standard_conforming_strings = on
112
- SQL (0.0ms) SET client_min_messages TO 'notice'
113
- SQL (0.0ms) SHOW TIME ZONE
114
- SQL (1.0ms) SHOW client_min_messages
115
- SQL (0.0ms) SET client_min_messages TO 'panic'
116
- SQL (0.0ms) SET standard_conforming_strings = on
117
- SQL (0.0ms) SET client_min_messages TO 'notice'
118
- SQL (0.0ms) SHOW TIME ZONE
119
- SQL (0.0ms) SHOW client_min_messages
120
- SQL (0.0ms) SET client_min_messages TO 'panic'
121
- SQL (0.0ms) SET standard_conforming_strings = on
122
- SQL (0.0ms) SET client_min_messages TO 'notice'
123
- SQL (0.0ms) SHOW TIME ZONE
124
- SQL (0.0ms) SHOW client_min_messages
125
- SQL (0.0ms) SET client_min_messages TO 'panic'
126
- SQL (0.0ms) SET standard_conforming_strings = on
127
- SQL (0.0ms) SET client_min_messages TO 'notice'
128
- SQL (0.0ms) SHOW TIME ZONE
129
- SQL (1.0ms) SHOW client_min_messages
130
- SQL (0.0ms) SET client_min_messages TO 'panic'
131
- SQL (0.0ms) SET standard_conforming_strings = on
132
- SQL (0.0ms) SET client_min_messages TO 'notice'
133
- SQL (0.0ms) SHOW TIME ZONE