composite_primary_keys 3.0.9 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/History.txt +6 -0
  2. data/Rakefile +10 -1
  3. data/lib/composite_primary_keys.rb +75 -75
  4. data/lib/composite_primary_keys/base.rb +190 -194
  5. data/lib/composite_primary_keys/composite_arrays.rb +23 -23
  6. data/lib/composite_primary_keys/finder_methods.rb +0 -11
  7. data/lib/composite_primary_keys/reflection.rb +38 -38
  8. data/lib/composite_primary_keys/version.rb +2 -2
  9. data/test/abstract_unit.rb +3 -2
  10. data/test/connections/connection_spec.rb +1 -2
  11. data/test/connections/databases.example.yml +14 -12
  12. data/test/connections/databases.yml +14 -14
  13. data/test/connections/native_ibm_db/connection.rb +0 -3
  14. data/test/connections/native_mysql/connection.rb +3 -9
  15. data/test/connections/native_oracle/connection.rb +4 -10
  16. data/test/connections/native_oracle_enhanced/connection.rb +4 -11
  17. data/test/connections/native_postgresql/connection.rb +1 -3
  18. data/test/connections/native_sqlite/connection.rb +2 -4
  19. data/test/debug.log +589 -589
  20. data/test/fixtures/article.rb +5 -5
  21. data/test/fixtures/articles.yml +5 -5
  22. data/test/fixtures/capitol.rb +3 -0
  23. data/test/fixtures/capitols.yml +16 -0
  24. data/test/fixtures/db_definitions/mysql.sql +5 -0
  25. data/test/fixtures/db_definitions/postgresql.sql +5 -0
  26. data/test/fixtures/product.rb +7 -7
  27. data/test/fixtures/product_tariff.rb +5 -5
  28. data/test/fixtures/product_tariffs.yml +12 -12
  29. data/test/fixtures/products.yml +5 -5
  30. data/test/fixtures/reading.rb +4 -4
  31. data/test/fixtures/readings.yml +9 -9
  32. data/test/fixtures/reference_code.rb +7 -7
  33. data/test/fixtures/reference_codes.yml +29 -29
  34. data/test/fixtures/reference_type.rb +7 -7
  35. data/test/fixtures/reference_types.yml +9 -9
  36. data/test/fixtures/suburb.rb +5 -5
  37. data/test/fixtures/suburbs.yml +8 -8
  38. data/test/fixtures/tariff.rb +6 -6
  39. data/test/fixtures/tariffs.yml +12 -12
  40. data/test/fixtures/user.rb +10 -10
  41. data/test/fixtures/users.yml +5 -5
  42. data/test/hash_tricks.rb +34 -34
  43. data/test/test_associations.rb +180 -180
  44. data/test/test_attribute_methods.rb +0 -2
  45. data/test/test_attributes.rb +0 -5
  46. data/test/test_clone.rb +31 -33
  47. data/test/test_composite_arrays.rb +0 -2
  48. data/test/test_create.rb +0 -4
  49. data/test/test_delete.rb +92 -96
  50. data/test/test_equal.rb +21 -0
  51. data/test/test_exists.rb +0 -2
  52. data/test/test_find.rb +79 -76
  53. data/test/test_ids.rb +81 -83
  54. data/test/test_miscellaneous.rb +36 -38
  55. data/test/test_pagination.rb +35 -37
  56. data/test/test_polymorphic.rb +0 -6
  57. data/test/test_santiago.rb +23 -27
  58. data/test/test_suite.rb +1 -0
  59. data/test/test_tutorial_example.rb +0 -4
  60. data/test/test_update.rb +37 -39
  61. data/test/test_validations.rb +0 -1
  62. metadata +8 -4
@@ -1,23 +1,23 @@
1
- module CompositePrimaryKeys
2
- ID_SEP = ','
3
- ID_SET_SEP = ';'
4
-
5
- module ArrayExtension
6
- def to_composite_keys
7
- CompositeKeys.new(self)
8
- end
9
-
10
- def to_composite_ids
11
- Array.new(self)
12
- end
13
- end
14
-
15
- class CompositeKeys < Array
16
- def to_s
17
- # Doing this makes it easier to parse Base#[](attr_name)
18
- join(ID_SEP)
19
- end
20
- end
21
- end
22
-
23
- Array.send(:include, CompositePrimaryKeys::ArrayExtension)
1
+ module CompositePrimaryKeys
2
+ ID_SEP = ','
3
+ ID_SET_SEP = ';'
4
+
5
+ module ArrayExtension
6
+ def to_composite_keys
7
+ CompositeKeys.new(self)
8
+ end
9
+
10
+ def to_composite_ids
11
+ Array.new(self)
12
+ end
13
+ end
14
+
15
+ class CompositeKeys < Array
16
+ def to_s
17
+ # Doing this makes it easier to parse Base#[](attr_name)
18
+ join(ID_SEP)
19
+ end
20
+ end
21
+ end
22
+
23
+ Array.send(:include, CompositePrimaryKeys::ArrayExtension)
@@ -77,17 +77,6 @@ module CompositePrimaryKeys
77
77
  return to_a.find(&block) if block_given?
78
78
 
79
79
  ids = ids.first if ids.last == nil
80
-
81
- # if ids is just a flat list, then its size must = primary_key.length (one id per primary key, in order)
82
- # if ids is list of lists, then each inner list must follow rule above
83
- if ids.first.is_a? String
84
- # find '2,1' -> ids = ['2,1']
85
- # find '2,1;7,3' -> ids = ['2,1;7,3']
86
- match = ids.first.match(/^\[(.*)\]$/)
87
- ids = (match ? match[1] : ids.first).split(ID_SET_SEP).map {|id_set| id_set.split(CompositePrimaryKeys::ID_SEP).to_composite_ids}
88
- # find '2,1;7,3' -> ids = [['2','1'],['7','3']], inner [] are CompositeIds
89
- end
90
-
91
80
  ids = [ids.to_composite_ids] if not ids.first.kind_of?(Array)
92
81
 
93
82
  ids.each do |id_set|
@@ -1,39 +1,39 @@
1
- module ActiveRecord
2
- module Reflection
3
- class AssociationReflection
4
- def derive_primary_key
5
- result = if options[:foreign_key]
6
- options[:foreign_key]
7
- elsif belongs_to?
8
- #CPK
9
- #"#{name}_id"
10
- class_name.foreign_key
11
- elsif options[:as]
12
- options[:as]
13
- else
14
- active_record.name.foreign_key
15
- end
16
- end
17
-
18
- def cpk_primary_key
19
- # Make sure the returned key(s) are an array
20
- @cpk_primary_key ||= [derive_primary_key].flatten
21
- end
22
-
23
- def primary_key_name
24
- @primary_key_name ||= derive_primary_key_name
25
- end
26
-
27
- def derive_primary_key_name
28
- result = derive_primary_key
29
-
30
- # CPK
31
- if result.is_a?(Array)
32
- result.to_composite_keys.to_s
33
- else
34
- result
35
- end
36
- end
37
- end
38
- end
1
+ module ActiveRecord
2
+ module Reflection
3
+ class AssociationReflection
4
+ def derive_primary_key
5
+ result = if options[:foreign_key]
6
+ options[:foreign_key]
7
+ elsif belongs_to?
8
+ #CPK
9
+ #"#{name}_id"
10
+ class_name.foreign_key
11
+ elsif options[:as]
12
+ options[:as]
13
+ else
14
+ active_record.name.foreign_key
15
+ end
16
+ end
17
+
18
+ def cpk_primary_key
19
+ # Make sure the returned key(s) are an array
20
+ @cpk_primary_key ||= [derive_primary_key].flatten
21
+ end
22
+
23
+ def primary_key_name
24
+ @primary_key_name ||= derive_primary_key_name
25
+ end
26
+
27
+ def derive_primary_key_name
28
+ result = derive_primary_key
29
+
30
+ # CPK
31
+ if result.is_a?(Array)
32
+ result.to_composite_keys.to_s
33
+ else
34
+ result
35
+ end
36
+ end
37
+ end
38
+ end
39
39
  end
@@ -1,8 +1,8 @@
1
1
  module CompositePrimaryKeys
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
- MINOR = 0
5
- TINY = 9
4
+ MINOR = 1
5
+ TINY = 0
6
6
  STRING = [MAJOR, MINOR, TINY].join('.')
7
7
  end
8
8
  end
@@ -1,7 +1,7 @@
1
1
  dir = File.dirname(__FILE__)
2
2
  PROJECT_ROOT = File.expand_path(File.join(dir, '..'))
3
3
 
4
- adapter ||= 'postgresql'
4
+ adapter = 'postgresql'
5
5
 
6
6
  require 'pp'
7
7
  require 'test/unit'
@@ -12,6 +12,7 @@ require 'active_record/fixtures'
12
12
  require File.join(PROJECT_ROOT, 'test', 'connections', 'connection_spec')
13
13
  require File.join(PROJECT_ROOT, "test", "connections", "native_#{adapter}", "connection")
14
14
 
15
+
15
16
  # To make debugging easier, test within this source tree versus an installed gem
16
17
  #require 'composite_primary_keys'
17
18
  require File.join(PROJECT_ROOT, "lib", "composite_primary_keys")
@@ -21,7 +22,7 @@ ActiveSupport::Dependencies.autoload_paths << File.join(PROJECT_ROOT, 'test', 'f
21
22
 
22
23
  QUOTED_TYPE = ActiveRecord::Base.connection.quote_column_name('type') unless Object.const_defined?(:QUOTED_TYPE)
23
24
 
24
- ActiveRecord::Base.configurations[:test] = CompositePrimaryKeys::ConnectionSpec[adapter]
25
+ ActiveRecord::Base.configurations[:test] = SPEC
25
26
 
26
27
  class ActiveSupport::TestCase #:nodoc:
27
28
  include ActiveRecord::TestFixtures
@@ -11,9 +11,8 @@ module CompositePrimaryKeys
11
11
  def self.config
12
12
  @config ||= begin
13
13
  path = File.join(PROJECT_ROOT, 'test', 'connections', 'databases.yml')
14
- puts path
15
14
  YAML.load_file(path)
16
15
  end
17
16
  end
18
17
  end
19
- end
18
+ end
@@ -1,12 +1,14 @@
1
- mysql:
2
- adapter: mysql
3
- username: root
4
-
5
- sqlite3:
6
- adapter: sqlite3
7
- dbfile: db/composite_primary_keys_unittest.sqlite3
8
-
9
- postgresql:
10
- adapter: postgresql
11
- username: postgres
12
- host: localhost
1
+ mysql:
2
+ adapter: mysql
3
+ username: root
4
+ database: composite_primary_keys_unittest
5
+
6
+ sqlite3:
7
+ adapter: sqlite3
8
+ database: db/composite_primary_keys_unittest.sqlite3
9
+
10
+ postgresql:
11
+ adapter: postgresql
12
+ database: composite_primary_keys_unittest
13
+ username: postgres
14
+ host: localhost
@@ -1,14 +1,14 @@
1
- mysql:
2
- adapter: mysql
3
- username: root
4
- database: composite_primary_keys_unittest
5
-
6
- sqlite3:
7
- adapter: sqlite3
8
- dbfile: db/composite_primary_keys_unittest.sqlite3
9
-
10
- postgresql:
11
- adapter: postgresql
12
- database: composite_primary_keys_unittest
13
- username: postgres
14
- host: localhost
1
+ mysql:
2
+ adapter: mysql
3
+ username: root
4
+ database: composite_primary_keys_unittest
5
+
6
+ sqlite3:
7
+ adapter: sqlite3
8
+ database: db/composite_primary_keys_unittest.sqlite3
9
+
10
+ postgresql:
11
+ adapter: postgresql
12
+ database: composite_primary_keys_unittest
13
+ username: postgres
14
+ host: localhost
@@ -1,5 +1,4 @@
1
1
  print "Using IBM2 \n"
2
- require 'logger'
3
2
 
4
3
  gem 'ibm_db'
5
4
  require 'IBM_DB'
@@ -7,8 +6,6 @@ require 'IBM_DB'
7
6
  RAILS_CONNECTION_ADAPTERS = %w( mysql postgresql sqlite firebird sqlserver db2 oracle sybase openbase frontbase ibm_db )
8
7
 
9
8
 
10
- ActiveRecord::Base.logger = Logger.new("debug.log")
11
-
12
9
  db1 = 'composite_primary_keys_unittest'
13
10
 
14
11
  connection_options = {
@@ -1,12 +1,6 @@
1
1
  print "Using native MySQL\n"
2
- require 'fileutils'
3
- require 'logger'
4
- require 'adapter_helper/mysql'
5
- require 'active_record'
6
2
 
7
- log_path = File.expand_path(File.join(File.dirname(__FILE__), %w[.. .. .. log]))
8
- FileUtils.mkdir_p log_path
9
- ActiveRecord::Base.logger = Logger.new("#{log_path}/debug.log")
3
+ require 'active_record'
10
4
 
11
5
  def connection_string
12
6
  options = {}
@@ -17,5 +11,5 @@ def connection_string
17
11
  end
18
12
 
19
13
  # Adapter config setup in locals/database_connections.rb
20
- connection_options = AdapterHelper::MySQL.load_connection_from_env
21
- ActiveRecord::Base.establish_connection(connection_options)
14
+ SPEC = CompositePrimaryKeys::ConnectionSpec[:mysql]
15
+ ActiveRecord::Base.establish_connection(SPEC)
@@ -1,17 +1,11 @@
1
1
  print "Using native Oracle\n"
2
- require 'fileutils'
3
- require 'logger'
4
- require 'adapter_helper/oracle'
5
- require 'active_record'
6
2
 
7
- log_path = File.expand_path(File.join(File.dirname(__FILE__), %w[.. .. .. log]))
8
- FileUtils.mkdir_p log_path
9
- ActiveRecord::Base.logger = Logger.new("#{log_path}/debug.log")
3
+ require 'active_record'
10
4
 
11
5
  def connection_string
12
- "#{connection_SPEC['username']}/#{connection_SPEC['password']}@#{connection_SPEC['host']}"
6
+ "#{SPEC['username']}/#{SPEC['password']}@#{SPEC['host']}"
13
7
  end
14
8
 
15
9
  # Adapter config setup in locals/database_connections.rb
16
- spec = CompositePrimaryKeys::ConnectionSpec[:oracle]
17
- ActiveRecord::Base.establish_connection(spec)
10
+ SPEC = CompositePrimaryKeys::ConnectionSpec[:oracle]
11
+ ActiveRecord::Base.establish_connection(SPEC)
@@ -1,21 +1,14 @@
1
1
  print "Using native Oracle Enhanced\n"
2
- require 'fileutils'
3
- require 'logger'
4
- require 'adapter_helper/oracle_enhanced'
5
- require 'active_record'
6
2
 
7
- log_path = File.expand_path(File.join(File.dirname(__FILE__), %w[.. .. .. log]))
8
- FileUtils.mkdir_p log_path
9
- ActiveRecord::Base.logger = Logger.new("#{log_path}/debug.log")
10
- ActiveRecord::Base.logger.level = Logger::DEBUG
3
+ require 'active_record'
11
4
 
12
5
  def connection_string
13
- "#{connection_SPEC['username']}/#{connection_SPEC['password']}@#{connection_SPEC['host']}"
6
+ "#{SPEC['username']}/#{SPEC['password']}@#{SPEC['host']}"
14
7
  end
15
8
 
16
9
  # Adapter config setup in locals/database_connections.rb
17
- spec = CompositePrimaryKeys::ConnectionSpec[:oracle]
18
- ActiveRecord::Base.establish_connection(spec)
10
+ SPEC = CompositePrimaryKeys::ConnectionSpec[:oracle]
11
+ ActiveRecord::Base.establish_connection(SPEC)
19
12
 
20
13
  # Change default options for Oracle Enhanced adapter
21
14
  ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.emulate_dates_by_column_name = true
@@ -1,17 +1,15 @@
1
1
  print "Using native Postgresql\n"
2
2
 
3
- require 'logger'
4
3
  require 'active_record'
5
4
  require File.join(PROJECT_ROOT, 'test', 'connections', 'connection_spec')
6
5
  require File.join(PROJECT_ROOT, 'lib', 'composite_primary_keys', 'connection_adapters', 'postgresql_adapter')
7
6
 
8
7
  def connection_string
9
- options = {}
8
+ options = Hash.new
10
9
  options['U'] = SPEC['username'] if SPEC['username']
11
10
  options['p'] = SPEC['password'] if SPEC['password']
12
11
  options.map { |key, value| "-#{key} #{value}" }.join(" ")
13
12
  end
14
13
 
15
- ActiveRecord::Base.logger = Logger.new("debug.log")
16
14
  SPEC = CompositePrimaryKeys::ConnectionSpec[:postgresql]
17
15
  ActiveRecord::Base.establish_connection(SPEC)
@@ -1,12 +1,10 @@
1
1
  print "Using native Sqlite3\n"
2
- require 'logger'
2
+
3
3
  require 'active_record'
4
4
  require File.join(PROJECT_ROOT, 'test', 'connections', 'connection_spec')
5
5
 
6
- ActiveRecord::Base.logger = Logger.new("debug.log")
7
-
8
6
  def connection_string
9
- SPEC['dbfile']
7
+ SPEC['database']
10
8
  end
11
9
 
12
10
  SPEC = CompositePrimaryKeys::ConnectionSpec[:sqlite3]
@@ -1,589 +1,589 @@
1
- # Logfile created on Sat Nov 20 00:07:06 -0700 2010 by logger.rb/22285
2
- SQL (0.0ms) SHOW client_min_messages
3
- SQL (0.0ms) SET client_min_messages TO 'panic'
4
- SQL (0.0ms) SET standard_conforming_strings = on
5
- SQL (1.0ms) SET client_min_messages TO 'notice'
6
- SQL (0.0ms) SHOW TIME ZONE
7
- SQL (0.0ms) SHOW client_min_messages
8
- SQL (0.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'
11
- SQL (0.0ms) SHOW TIME ZONE
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))
17
- SQL (1.0ms) SHOW client_min_messages
18
- SQL (1.0ms) SET client_min_messages TO 'panic'
19
- SQL (0.0ms) SET standard_conforming_strings = on
20
- SQL (0.0ms) SET client_min_messages TO 'notice'
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'
29
- SQL (0.0ms) SET standard_conforming_strings = on
30
- SQL (1.0ms) SET client_min_messages TO 'notice'
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))
41
- SQL (0.0ms) SHOW client_min_messages
42
- SQL (0.0ms) SET client_min_messages TO 'panic'
43
- SQL (1.0ms) SET standard_conforming_strings = on
44
- SQL (0.0ms) SET client_min_messages TO 'notice'
45
- SQL (0.0ms) SHOW TIME ZONE
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))
50
- SQL (0.0ms) SHOW client_min_messages
51
- SQL (0.0ms) SET client_min_messages TO 'panic'
52
- SQL (0.0ms) SET standard_conforming_strings = on
53
- SQL (0.0ms) SET client_min_messages TO 'notice'
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))
59
- SQL (1.0ms) SHOW client_min_messages
60
- SQL (1.0ms) SET client_min_messages TO 'panic'
61
- SQL (0.0ms) SET standard_conforming_strings = on
62
- SQL (0.0ms) SET client_min_messages TO 'notice'
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
- SQL (0.0ms) SHOW client_min_messages
69
- SQL (0.0ms) SET client_min_messages TO 'panic'
70
- SQL (0.0ms) SET standard_conforming_strings = on
71
- SQL (0.0ms) SET client_min_messages TO 'notice'
72
- 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))
77
- SQL (0.0ms) SHOW client_min_messages
78
- SQL (0.0ms) SET client_min_messages TO 'panic'
79
- SQL (1.0ms) SET standard_conforming_strings = on
80
- SQL (0.0ms) SET client_min_messages TO 'notice'
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))
86
- SQL (0.0ms) SHOW client_min_messages
87
- SQL (0.0ms) SET client_min_messages TO 'panic'
88
- SQL (0.0ms) SET standard_conforming_strings = on
89
- SQL (0.0ms) SET client_min_messages TO 'notice'
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))
95
- SQL (1.0ms) SHOW client_min_messages
96
- SQL (0.0ms) SET client_min_messages TO 'panic'
97
- SQL (0.0ms) SET standard_conforming_strings = on
98
- SQL (1.0ms) SET client_min_messages TO 'notice'
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))
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 (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))
113
- SQL (0.0ms) SHOW client_min_messages
114
- SQL (0.0ms) SET client_min_messages TO 'panic'
115
- SQL (0.0ms) SET standard_conforming_strings = on
116
- SQL (0.0ms) SET client_min_messages TO 'notice'
117
- SQL (0.0ms) SHOW TIME ZONE
118
- SQL (1.0ms) SHOW client_min_messages
119
- SQL (0.0ms) SET client_min_messages TO 'panic'
120
- SQL (0.0ms) SET standard_conforming_strings = on
121
- SQL (1.0ms) SET client_min_messages TO 'notice'
122
- SQL (0.0ms) SHOW TIME ZONE
123
- SQL (0.0ms) SHOW client_min_messages
124
- SQL (0.0ms) SET client_min_messages TO 'panic'
125
- SQL (0.0ms) SET standard_conforming_strings = on
126
- SQL (1.0ms) SET client_min_messages TO 'notice'
127
- SQL (0.0ms) SHOW TIME ZONE
128
- SQL (1.0ms) SHOW client_min_messages
129
- SQL (0.0ms) SET client_min_messages TO 'panic'
130
- SQL (0.0ms) SET standard_conforming_strings = on
131
- SQL (0.0ms) SET client_min_messages TO 'notice'
132
- SQL (0.0ms) SHOW TIME ZONE
133
- SQL (1.0ms) SHOW client_min_messages
134
- SQL (1.0ms) SET client_min_messages TO 'panic'
135
- SQL (0.0ms) SET standard_conforming_strings = on
136
- SQL (0.0ms) SET client_min_messages TO 'notice'
137
- SQL (1.0ms) SHOW TIME ZONE
138
- SQL (1.0ms) SHOW client_min_messages
139
- SQL (0.0ms) SET client_min_messages TO 'panic'
140
- SQL (0.0ms) SET standard_conforming_strings = on
141
- SQL (1.0ms) SET client_min_messages TO 'notice'
142
- SQL (0.0ms) SHOW TIME ZONE
143
- SQL (0.0ms) SHOW client_min_messages
144
- SQL (0.0ms) SET client_min_messages TO 'panic'
145
- SQL (0.0ms) SET standard_conforming_strings = on
146
- SQL (0.0ms) SET client_min_messages TO 'notice'
147
- SQL (0.0ms) SHOW TIME ZONE
148
- SQL (0.0ms) SHOW client_min_messages
149
- SQL (0.0ms) SET client_min_messages TO 'panic'
150
- SQL (0.0ms) SET standard_conforming_strings = on
151
- SQL (0.0ms) SET client_min_messages TO 'notice'
152
- SQL (0.0ms) SHOW TIME ZONE
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
159
- SQL (0.0ms) SET client_min_messages TO 'panic'
160
- SQL (0.0ms) SET standard_conforming_strings = on
161
- SQL (0.0ms) SET client_min_messages TO 'notice'
162
- SQL (0.0ms) SHOW TIME ZONE
163
- SQL (0.0ms) SHOW client_min_messages
164
- SQL (0.0ms) SET client_min_messages TO 'panic'
165
- SQL (0.0ms) SET standard_conforming_strings = on
166
- SQL (0.0ms) SET client_min_messages TO 'notice'
167
- SQL (0.0ms) SHOW TIME ZONE
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
173
- SQL (0.0ms) SET client_min_messages TO 'panic'
174
- SQL (1.0ms) SET standard_conforming_strings = on
175
- SQL (1.0ms) SET client_min_messages TO 'notice'
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"
181
- SQL (0.0ms) SHOW client_min_messages
182
- SQL (0.0ms) SET client_min_messages TO 'panic'
183
- SQL (0.0ms) SET standard_conforming_strings = on
184
- SQL (0.0ms) SET client_min_messages TO 'notice'
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"
190
- SQL (0.0ms) SHOW client_min_messages
191
- SQL (0.0ms) SET client_min_messages TO 'panic'
192
- SQL (0.0ms) SET standard_conforming_strings = on
193
- SQL (0.0ms) SET client_min_messages TO 'notice'
194
- SQL (0.0ms) SHOW TIME ZONE
195
- SQL (0.0ms) SHOW client_min_messages
196
- SQL (0.0ms) SET client_min_messages TO 'panic'
197
- SQL (0.0ms) SET standard_conforming_strings = on
198
- SQL (1.0ms) SET client_min_messages TO 'notice'
199
- SQL (0.0ms) SHOW TIME ZONE
200
- SQL (0.0ms) SHOW client_min_messages
201
- SQL (0.0ms) SET client_min_messages TO 'panic'
202
- SQL (0.0ms) SET standard_conforming_strings = on
203
- SQL (0.0ms) SET client_min_messages TO 'notice'
204
- SQL (0.0ms) SHOW TIME ZONE
205
- TypeError: wrong argument type Arel::SelectManager (expected String): #<Arel::SelectManager:0x59f0df0>
206
- SQL (1.0ms) SHOW client_min_messages
207
- SQL (1.0ms) SET client_min_messages TO 'panic'
208
- SQL (0.0ms) SET standard_conforming_strings = on
209
- SQL (0.0ms) SET client_min_messages TO 'notice'
210
- SQL (1.0ms) SHOW TIME ZONE
211
- SQL (0.0ms) SHOW client_min_messages
212
- SQL (0.0ms) SET client_min_messages TO 'panic'
213
- SQL (0.0ms) SET standard_conforming_strings = on
214
- SQL (0.0ms) SET client_min_messages TO 'notice'
215
- SQL (1.0ms) SHOW TIME ZONE
216
- SQL (0.0ms) SHOW client_min_messages
217
- SQL (0.0ms) SET client_min_messages TO 'panic'
218
- SQL (1.0ms) SET standard_conforming_strings = on
219
- SQL (0.0ms) SET client_min_messages TO 'notice'
220
- SQL (0.0ms) SHOW TIME ZONE
221
- SQL (1.0ms) SHOW client_min_messages
222
- SQL (0.0ms) SET client_min_messages TO 'panic'
223
- SQL (1.0ms) SET standard_conforming_strings = on
224
- SQL (0.0ms) SET client_min_messages TO 'notice'
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"
230
- SQL (1.0ms) SHOW client_min_messages
231
- SQL (1.0ms) SET client_min_messages TO 'panic'
232
- SQL (0.0ms) SET standard_conforming_strings = on
233
- SQL (0.0ms) SET client_min_messages TO 'notice'
234
- SQL (0.0ms) SHOW TIME ZONE
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
238
- SQL (0.0ms) SET client_min_messages TO 'notice'
239
- SQL (0.0ms) SHOW TIME ZONE
240
- SQL (0.0ms) SHOW client_min_messages
241
- SQL (0.0ms) SET client_min_messages TO 'panic'
242
- SQL (0.0ms) SET standard_conforming_strings = on
243
- SQL (0.0ms) SET client_min_messages TO 'notice'
244
- SQL (0.0ms) SHOW TIME ZONE
245
- SQL (0.0ms) SHOW client_min_messages
246
- SQL (0.0ms) SET client_min_messages TO 'panic'
247
- SQL (0.0ms) SET standard_conforming_strings = on
248
- SQL (0.0ms) SET client_min_messages TO 'notice'
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"
254
- SQL (0.0ms) SHOW client_min_messages
255
- SQL (0.0ms) SET client_min_messages TO 'panic'
256
- SQL (0.0ms) SET standard_conforming_strings = on
257
- SQL (0.0ms) SET client_min_messages TO 'notice'
258
- SQL (0.0ms) SHOW TIME ZONE
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'
270
- SQL (0.0ms) SET standard_conforming_strings = on
271
- SQL (0.0ms) SET client_min_messages TO 'notice'
272
- SQL (0.0ms) SHOW TIME ZONE
273
- SQL (0.0ms) SHOW client_min_messages
274
- SQL (1.0ms) SET client_min_messages TO 'panic'
275
- SQL (0.0ms) SET standard_conforming_strings = on
276
- SQL (0.0ms) SET client_min_messages TO 'notice'
277
- SQL (1.0ms) SHOW TIME ZONE
278
- SQL (0.0ms) SHOW client_min_messages
279
- SQL (0.0ms) SET client_min_messages TO 'panic'
280
- SQL (0.0ms) SET standard_conforming_strings = on
281
- SQL (0.0ms) SET client_min_messages TO 'notice'
282
- SQL (0.0ms) SHOW TIME ZONE
283
- SQL (1.0ms) SHOW client_min_messages
284
- SQL (0.0ms) SET client_min_messages TO 'panic'
285
- SQL (0.0ms) SET standard_conforming_strings = on
286
- SQL (0.0ms) SET client_min_messages TO 'notice'
287
- SQL (0.0ms) SHOW TIME ZONE
288
- SQL (29.0ms) SHOW client_min_messages
289
- SQL (0.0ms) SET client_min_messages TO 'panic'
290
- SQL (0.0ms) SET standard_conforming_strings = on
291
- SQL (1.0ms) SET client_min_messages TO 'notice'
292
- SQL (0.0ms) SHOW TIME ZONE
293
- PGError: ERROR: null value in column "product_id" violates not-null constraint
294
- : UPDATE "product_tariffs" SET "product_id" = NULL WHERE "product_tariffs"."product_id" = 1 AND "product_tariffs"."product_id" = 1 AND "product_tariffs"."tariff_id" = 2 AND "product_tariffs"."tariff_start_date" = '2010-11-20'
295
- SQL (1.0ms) SHOW client_min_messages
296
- SQL (0.0ms) SET client_min_messages TO 'panic'
297
- SQL (0.0ms) SET standard_conforming_strings = on
298
- SQL (0.0ms) SET client_min_messages TO 'notice'
299
- SQL (0.0ms) SHOW TIME ZONE
300
- SQL (1.0ms) SHOW client_min_messages
301
- SQL (0.0ms) SET client_min_messages TO 'panic'
302
- SQL (1.0ms) SET standard_conforming_strings = on
303
- SQL (0.0ms) SET client_min_messages TO 'notice'
304
- SQL (0.0ms) SHOW TIME ZONE
305
- SQL (0.0ms) SHOW client_min_messages
306
- SQL (0.0ms) SET client_min_messages TO 'panic'
307
- SQL (0.0ms) SET standard_conforming_strings = on
308
- SQL (15.6ms) SET client_min_messages TO 'notice'
309
- SQL (0.0ms) SHOW TIME ZONE
310
- SQL (0.0ms) SHOW client_min_messages
311
- SQL (0.0ms) SET client_min_messages TO 'panic'
312
- SQL (0.0ms) SET standard_conforming_strings = on
313
- SQL (0.0ms) SET client_min_messages TO 'notice'
314
- SQL (0.0ms) SHOW TIME ZONE
315
- SQL (0.0ms) SHOW client_min_messages
316
- SQL (0.0ms) SET client_min_messages TO 'panic'
317
- SQL (0.0ms) SET standard_conforming_strings = on
318
- SQL (0.0ms) SET client_min_messages TO 'notice'
319
- SQL (0.0ms) SHOW TIME ZONE
320
- SQL (0.0ms) SHOW client_min_messages
321
- SQL (0.0ms) SET client_min_messages TO 'panic'
322
- SQL (0.0ms) SET standard_conforming_strings = on
323
- SQL (0.0ms) SET client_min_messages TO 'notice'
324
- SQL (0.0ms) SHOW TIME ZONE
325
- SQL (0.0ms) SHOW client_min_messages
326
- SQL (0.0ms) SET client_min_messages TO 'panic'
327
- SQL (0.0ms) SET standard_conforming_strings = on
328
- SQL (0.0ms) SET client_min_messages TO 'notice'
329
- SQL (0.0ms) SHOW TIME ZONE
330
- SQL (0.0ms) SHOW client_min_messages
331
- SQL (0.0ms) SET client_min_messages TO 'panic'
332
- SQL (0.0ms) SET standard_conforming_strings = on
333
- SQL (0.0ms) SET client_min_messages TO 'notice'
334
- SQL (0.0ms) SHOW TIME ZONE
335
- SQL (0.0ms) SHOW client_min_messages
336
- SQL (0.0ms) SET client_min_messages TO 'panic'
337
- SQL (0.0ms) SET standard_conforming_strings = on
338
- SQL (0.0ms) SET client_min_messages TO 'notice'
339
- SQL (0.0ms) SHOW TIME ZONE
340
- SQL (0.0ms) SHOW client_min_messages
341
- SQL (0.0ms) SET client_min_messages TO 'panic'
342
- SQL (0.0ms) SET standard_conforming_strings = on
343
- SQL (0.0ms) SET client_min_messages TO 'notice'
344
- SQL (0.0ms) SHOW TIME ZONE
345
- SQL (0.0ms) SHOW client_min_messages
346
- SQL (0.0ms) SET client_min_messages TO 'panic'
347
- SQL (0.0ms) SET standard_conforming_strings = on
348
- SQL (0.0ms) SET client_min_messages TO 'notice'
349
- SQL (0.0ms) SHOW TIME ZONE
350
- SQL (0.0ms) SHOW client_min_messages
351
- SQL (0.0ms) SET client_min_messages TO 'panic'
352
- SQL (0.0ms) SET standard_conforming_strings = on
353
- SQL (0.0ms) SET client_min_messages TO 'notice'
354
- SQL (15.6ms) SHOW TIME ZONE
355
- SQL (0.0ms) SHOW client_min_messages
356
- SQL (0.0ms) SET client_min_messages TO 'panic'
357
- SQL (0.0ms) SET standard_conforming_strings = on
358
- SQL (0.0ms) SET client_min_messages TO 'notice'
359
- SQL (0.0ms) SHOW TIME ZONE
360
- SQL (0.0ms) SHOW client_min_messages
361
- SQL (0.0ms) SET client_min_messages TO 'panic'
362
- SQL (0.0ms) SET standard_conforming_strings = on
363
- SQL (0.0ms) SET client_min_messages TO 'notice'
364
- SQL (0.0ms) SHOW TIME ZONE
365
- SQL (0.0ms) SHOW client_min_messages
366
- SQL (0.0ms) SET client_min_messages TO 'panic'
367
- SQL (0.0ms) SET standard_conforming_strings = on
368
- SQL (0.0ms) SET client_min_messages TO 'notice'
369
- SQL (0.0ms) SHOW TIME ZONE
370
- SQL (0.0ms) SHOW client_min_messages
371
- SQL (0.0ms) SET client_min_messages TO 'panic'
372
- SQL (0.0ms) SET standard_conforming_strings = on
373
- SQL (0.0ms) SET client_min_messages TO 'notice'
374
- SQL (0.0ms) SHOW TIME ZONE
375
- SQL (0.0ms) SHOW client_min_messages
376
- SQL (0.0ms) SET client_min_messages TO 'panic'
377
- SQL (0.0ms) SET standard_conforming_strings = on
378
- SQL (0.0ms) SET client_min_messages TO 'notice'
379
- SQL (0.0ms) SHOW TIME ZONE
380
- SQL (0.0ms) SHOW client_min_messages
381
- SQL (0.0ms) SET client_min_messages TO 'panic'
382
- SQL (0.0ms) SET standard_conforming_strings = on
383
- SQL (0.0ms) SET client_min_messages TO 'notice'
384
- SQL (0.0ms) SHOW TIME ZONE
385
- PGError: ERROR: column "tariff_idstart_date" does not exist
386
- LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
387
- ^
388
- : 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"
389
- PGError: ERROR: operator does not exist: character varying = integer
390
- LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
391
- ^
392
- HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
393
- : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
394
- SQL (0.0ms) SHOW client_min_messages
395
- SQL (0.0ms) SET client_min_messages TO 'panic'
396
- SQL (0.0ms) SET standard_conforming_strings = on
397
- SQL (0.0ms) SET client_min_messages TO 'notice'
398
- SQL (0.0ms) SHOW TIME ZONE
399
- SQL (0.0ms) SHOW client_min_messages
400
- SQL (0.0ms) SET client_min_messages TO 'panic'
401
- SQL (0.0ms) SET standard_conforming_strings = on
402
- SQL (0.0ms) SET client_min_messages TO 'notice'
403
- SQL (0.0ms) SHOW TIME ZONE
404
- SQL (0.0ms) SHOW client_min_messages
405
- SQL (0.0ms) SET client_min_messages TO 'panic'
406
- SQL (0.0ms) SET standard_conforming_strings = on
407
- SQL (0.0ms) SET client_min_messages TO 'notice'
408
- SQL (0.0ms) SHOW TIME ZONE
409
- SQL (0.0ms) SHOW client_min_messages
410
- SQL (0.0ms) SET client_min_messages TO 'panic'
411
- SQL (0.0ms) SET standard_conforming_strings = on
412
- SQL (0.0ms) SET client_min_messages TO 'notice'
413
- SQL (0.0ms) SHOW TIME ZONE
414
- SQL (0.0ms) SHOW client_min_messages
415
- SQL (0.0ms) SET client_min_messages TO 'panic'
416
- SQL (0.0ms) SET standard_conforming_strings = on
417
- SQL (0.0ms) SET client_min_messages TO 'notice'
418
- SQL (0.0ms) SHOW TIME ZONE
419
- SQL (0.0ms) SHOW client_min_messages
420
- SQL (0.0ms) SET client_min_messages TO 'panic'
421
- SQL (0.0ms) SET standard_conforming_strings = on
422
- SQL (0.0ms) SET client_min_messages TO 'notice'
423
- SQL (0.0ms) SHOW TIME ZONE
424
- SQL (0.0ms) SHOW client_min_messages
425
- SQL (0.0ms) SET client_min_messages TO 'panic'
426
- SQL (15.6ms) SET standard_conforming_strings = on
427
- SQL (0.0ms) SET client_min_messages TO 'notice'
428
- SQL (0.0ms) SHOW TIME ZONE
429
- SQL (0.0ms) SHOW client_min_messages
430
- SQL (0.0ms) SET client_min_messages TO 'panic'
431
- SQL (0.0ms) SET standard_conforming_strings = on
432
- SQL (0.0ms) SET client_min_messages TO 'notice'
433
- SQL (0.0ms) SHOW TIME ZONE
434
- PGError: ERROR: column "tariff_idstart_date" does not exist
435
- LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
436
- ^
437
- : 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"
438
- PGError: ERROR: operator does not exist: character varying = integer
439
- LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
440
- ^
441
- HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
442
- : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
443
- SQL (0.0ms) SHOW client_min_messages
444
- SQL (0.0ms) SET client_min_messages TO 'panic'
445
- SQL (0.0ms) SET standard_conforming_strings = on
446
- SQL (0.0ms) SET client_min_messages TO 'notice'
447
- SQL (0.0ms) SHOW TIME ZONE
448
- SQL (0.0ms) SHOW client_min_messages
449
- SQL (0.0ms) SET client_min_messages TO 'panic'
450
- SQL (0.0ms) SET standard_conforming_strings = on
451
- SQL (0.0ms) SET client_min_messages TO 'notice'
452
- SQL (0.0ms) SHOW TIME ZONE
453
- SQL (0.0ms) SHOW client_min_messages
454
- SQL (0.0ms) SET client_min_messages TO 'panic'
455
- SQL (0.0ms) SET standard_conforming_strings = on
456
- SQL (0.0ms) SET client_min_messages TO 'notice'
457
- SQL (0.0ms) SHOW TIME ZONE
458
- SQL (1.0ms) SHOW client_min_messages
459
- SQL (0.0ms) SET client_min_messages TO 'panic'
460
- SQL (0.0ms) SET standard_conforming_strings = on
461
- SQL (1.0ms) SET client_min_messages TO 'notice'
462
- SQL (0.0ms) SHOW TIME ZONE
463
- PGError: ERROR: null value in column "franchise_id" violates not-null constraint
464
- : INSERT INTO "restaurants_suburbs" ("suburb_id", "city_id") VALUES (22, 22)
465
- SQL (0.0ms) SHOW client_min_messages
466
- SQL (1.0ms) SET client_min_messages TO 'panic'
467
- SQL (0.0ms) SET standard_conforming_strings = on
468
- SQL (0.0ms) SET client_min_messages TO 'notice'
469
- SQL (0.0ms) SHOW TIME ZONE
470
- SQL (0.0ms) SHOW client_min_messages
471
- SQL (0.0ms) SET client_min_messages TO 'panic'
472
- SQL (0.0ms) SET standard_conforming_strings = on
473
- SQL (1.0ms) SET client_min_messages TO 'notice'
474
- SQL (0.0ms) SHOW TIME ZONE
475
- SQL (0.0ms) SHOW client_min_messages
476
- SQL (0.0ms) SET client_min_messages TO 'panic'
477
- SQL (0.0ms) SET standard_conforming_strings = on
478
- SQL (0.0ms) SET client_min_messages TO 'notice'
479
- SQL (0.0ms) SHOW TIME ZONE
480
- SQL (1.0ms) SHOW client_min_messages
481
- SQL (0.0ms) SET client_min_messages TO 'panic'
482
- SQL (0.0ms) SET standard_conforming_strings = on
483
- SQL (0.0ms) SET client_min_messages TO 'notice'
484
- SQL (1.0ms) SHOW TIME ZONE
485
- SQL (0.0ms) SHOW client_min_messages
486
- SQL (1.0ms) SET client_min_messages TO 'panic'
487
- SQL (0.0ms) SET standard_conforming_strings = on
488
- SQL (0.0ms) SET client_min_messages TO 'notice'
489
- SQL (0.0ms) SHOW TIME ZONE
490
- SQL (1.0ms) SHOW client_min_messages
491
- SQL (1.0ms) SET client_min_messages TO 'panic'
492
- SQL (0.0ms) SET standard_conforming_strings = on
493
- SQL (0.0ms) SET client_min_messages TO 'notice'
494
- SQL (0.0ms) SHOW TIME ZONE
495
- SQL (1.0ms) SHOW client_min_messages
496
- SQL (1.0ms) SET client_min_messages TO 'panic'
497
- SQL (0.0ms) SET standard_conforming_strings = on
498
- SQL (0.0ms) SET client_min_messages TO 'notice'
499
- SQL (1.0ms) SHOW TIME ZONE
500
- SQL (0.0ms) SHOW client_min_messages
501
- SQL (0.0ms) SET client_min_messages TO 'panic'
502
- SQL (0.0ms) SET standard_conforming_strings = on
503
- SQL (0.0ms) SET client_min_messages TO 'notice'
504
- SQL (0.0ms) SHOW TIME ZONE
505
- SQL (0.0ms) SHOW client_min_messages
506
- SQL (1.0ms) SET client_min_messages TO 'panic'
507
- SQL (0.0ms) SET standard_conforming_strings = on
508
- SQL (0.0ms) SET client_min_messages TO 'notice'
509
- SQL (0.0ms) SHOW TIME ZONE
510
- SQL (0.0ms) SHOW client_min_messages
511
- SQL (0.0ms) SET client_min_messages TO 'panic'
512
- SQL (0.0ms) SET standard_conforming_strings = on
513
- SQL (0.0ms) SET client_min_messages TO 'notice'
514
- SQL (0.0ms) SHOW TIME ZONE
515
- SQL (1.0ms) SHOW client_min_messages
516
- SQL (0.0ms) SET client_min_messages TO 'panic'
517
- SQL (0.0ms) SET standard_conforming_strings = on
518
- SQL (1.0ms) SET client_min_messages TO 'notice'
519
- SQL (0.0ms) SHOW TIME ZONE
520
- SQL (0.0ms) SHOW client_min_messages
521
- SQL (0.0ms) SET client_min_messages TO 'panic'
522
- SQL (0.0ms) SET standard_conforming_strings = on
523
- SQL (0.0ms) SET client_min_messages TO 'notice'
524
- SQL (1.0ms) SHOW TIME ZONE
525
- PGError: ERROR: column "tariff_idstart_date" does not exist
526
- LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
527
- ^
528
- : 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"
529
- PGError: ERROR: operator does not exist: character varying = integer
530
- LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
531
- ^
532
- HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
533
- : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
534
- SQL (0.0ms) SHOW client_min_messages
535
- SQL (0.0ms) SET client_min_messages TO 'panic'
536
- SQL (0.0ms) SET standard_conforming_strings = on
537
- SQL (0.0ms) SET client_min_messages TO 'notice'
538
- SQL (0.0ms) SHOW TIME ZONE
539
- PGError: ERROR: column "tariff_idstart_date" does not exist
540
- LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
541
- ^
542
- : 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"
543
- PGError: ERROR: operator does not exist: character varying = integer
544
- LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
545
- ^
546
- HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
547
- : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
548
- SQL (0.0ms) SHOW client_min_messages
549
- SQL (0.0ms) SET client_min_messages TO 'panic'
550
- SQL (0.0ms) SET standard_conforming_strings = on
551
- SQL (1.0ms) SET client_min_messages TO 'notice'
552
- SQL (0.0ms) SHOW TIME ZONE
553
- PGError: ERROR: column "tariff_idstart_date" does not exist
554
- LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
555
- ^
556
- : 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"
557
- PGError: ERROR: operator does not exist: character varying = integer
558
- LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
559
- ^
560
- HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
561
- : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
562
- SQL (35.0ms) SHOW client_min_messages
563
- SQL (0.0ms) SET client_min_messages TO 'panic'
564
- SQL (0.0ms) SET standard_conforming_strings = on
565
- SQL (1.0ms) SET client_min_messages TO 'notice'
566
- SQL (0.0ms) SHOW TIME ZONE
567
- PGError: ERROR: column "tariff_idstart_date" does not exist
568
- LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
569
- ^
570
- : 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"
571
- PGError: ERROR: operator does not exist: character varying = integer
572
- LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
573
- ^
574
- HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
575
- : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
576
- SQL (1.0ms) SHOW client_min_messages
577
- SQL (0.0ms) SET client_min_messages TO 'panic'
578
- SQL (0.0ms) SET standard_conforming_strings = on
579
- SQL (0.0ms) SET client_min_messages TO 'notice'
580
- SQL (0.0ms) SHOW TIME ZONE
581
- PGError: ERROR: column "tariff_idstart_date" does not exist
582
- LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
583
- ^
584
- : 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"
585
- PGError: ERROR: operator does not exist: character varying = integer
586
- LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
587
- ^
588
- HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
589
- : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
1
+ # Logfile created on Sat Nov 20 00:07:06 -0700 2010 by logger.rb/22285
2
+ SQL (0.0ms) SHOW client_min_messages
3
+ SQL (0.0ms) SET client_min_messages TO 'panic'
4
+ SQL (0.0ms) SET standard_conforming_strings = on
5
+ SQL (1.0ms) SET client_min_messages TO 'notice'
6
+ SQL (0.0ms) SHOW TIME ZONE
7
+ SQL (0.0ms) SHOW client_min_messages
8
+ SQL (0.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'
11
+ SQL (0.0ms) SHOW TIME ZONE
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))
17
+ SQL (1.0ms) SHOW client_min_messages
18
+ SQL (1.0ms) SET client_min_messages TO 'panic'
19
+ SQL (0.0ms) SET standard_conforming_strings = on
20
+ SQL (0.0ms) SET client_min_messages TO 'notice'
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'
29
+ SQL (0.0ms) SET standard_conforming_strings = on
30
+ SQL (1.0ms) SET client_min_messages TO 'notice'
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))
41
+ SQL (0.0ms) SHOW client_min_messages
42
+ SQL (0.0ms) SET client_min_messages TO 'panic'
43
+ SQL (1.0ms) SET standard_conforming_strings = on
44
+ SQL (0.0ms) SET client_min_messages TO 'notice'
45
+ SQL (0.0ms) SHOW TIME ZONE
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))
50
+ SQL (0.0ms) SHOW client_min_messages
51
+ SQL (0.0ms) SET client_min_messages TO 'panic'
52
+ SQL (0.0ms) SET standard_conforming_strings = on
53
+ SQL (0.0ms) SET client_min_messages TO 'notice'
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))
59
+ SQL (1.0ms) SHOW client_min_messages
60
+ SQL (1.0ms) SET client_min_messages TO 'panic'
61
+ SQL (0.0ms) SET standard_conforming_strings = on
62
+ SQL (0.0ms) SET client_min_messages TO 'notice'
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
+ SQL (0.0ms) SHOW client_min_messages
69
+ SQL (0.0ms) SET client_min_messages TO 'panic'
70
+ SQL (0.0ms) SET standard_conforming_strings = on
71
+ SQL (0.0ms) SET client_min_messages TO 'notice'
72
+ 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))
77
+ SQL (0.0ms) SHOW client_min_messages
78
+ SQL (0.0ms) SET client_min_messages TO 'panic'
79
+ SQL (1.0ms) SET standard_conforming_strings = on
80
+ SQL (0.0ms) SET client_min_messages TO 'notice'
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))
86
+ SQL (0.0ms) SHOW client_min_messages
87
+ SQL (0.0ms) SET client_min_messages TO 'panic'
88
+ SQL (0.0ms) SET standard_conforming_strings = on
89
+ SQL (0.0ms) SET client_min_messages TO 'notice'
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))
95
+ SQL (1.0ms) SHOW client_min_messages
96
+ SQL (0.0ms) SET client_min_messages TO 'panic'
97
+ SQL (0.0ms) SET standard_conforming_strings = on
98
+ SQL (1.0ms) SET client_min_messages TO 'notice'
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))
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 (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))
113
+ SQL (0.0ms) SHOW client_min_messages
114
+ SQL (0.0ms) SET client_min_messages TO 'panic'
115
+ SQL (0.0ms) SET standard_conforming_strings = on
116
+ SQL (0.0ms) SET client_min_messages TO 'notice'
117
+ SQL (0.0ms) SHOW TIME ZONE
118
+ SQL (1.0ms) SHOW client_min_messages
119
+ SQL (0.0ms) SET client_min_messages TO 'panic'
120
+ SQL (0.0ms) SET standard_conforming_strings = on
121
+ SQL (1.0ms) SET client_min_messages TO 'notice'
122
+ SQL (0.0ms) SHOW TIME ZONE
123
+ SQL (0.0ms) SHOW client_min_messages
124
+ SQL (0.0ms) SET client_min_messages TO 'panic'
125
+ SQL (0.0ms) SET standard_conforming_strings = on
126
+ SQL (1.0ms) SET client_min_messages TO 'notice'
127
+ SQL (0.0ms) SHOW TIME ZONE
128
+ SQL (1.0ms) SHOW client_min_messages
129
+ SQL (0.0ms) SET client_min_messages TO 'panic'
130
+ SQL (0.0ms) SET standard_conforming_strings = on
131
+ SQL (0.0ms) SET client_min_messages TO 'notice'
132
+ SQL (0.0ms) SHOW TIME ZONE
133
+ SQL (1.0ms) SHOW client_min_messages
134
+ SQL (1.0ms) SET client_min_messages TO 'panic'
135
+ SQL (0.0ms) SET standard_conforming_strings = on
136
+ SQL (0.0ms) SET client_min_messages TO 'notice'
137
+ SQL (1.0ms) SHOW TIME ZONE
138
+ SQL (1.0ms) SHOW client_min_messages
139
+ SQL (0.0ms) SET client_min_messages TO 'panic'
140
+ SQL (0.0ms) SET standard_conforming_strings = on
141
+ SQL (1.0ms) SET client_min_messages TO 'notice'
142
+ SQL (0.0ms) SHOW TIME ZONE
143
+ SQL (0.0ms) SHOW client_min_messages
144
+ SQL (0.0ms) SET client_min_messages TO 'panic'
145
+ SQL (0.0ms) SET standard_conforming_strings = on
146
+ SQL (0.0ms) SET client_min_messages TO 'notice'
147
+ SQL (0.0ms) SHOW TIME ZONE
148
+ SQL (0.0ms) SHOW client_min_messages
149
+ SQL (0.0ms) SET client_min_messages TO 'panic'
150
+ SQL (0.0ms) SET standard_conforming_strings = on
151
+ SQL (0.0ms) SET client_min_messages TO 'notice'
152
+ SQL (0.0ms) SHOW TIME ZONE
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
159
+ SQL (0.0ms) SET client_min_messages TO 'panic'
160
+ SQL (0.0ms) SET standard_conforming_strings = on
161
+ SQL (0.0ms) SET client_min_messages TO 'notice'
162
+ SQL (0.0ms) SHOW TIME ZONE
163
+ SQL (0.0ms) SHOW client_min_messages
164
+ SQL (0.0ms) SET client_min_messages TO 'panic'
165
+ SQL (0.0ms) SET standard_conforming_strings = on
166
+ SQL (0.0ms) SET client_min_messages TO 'notice'
167
+ SQL (0.0ms) SHOW TIME ZONE
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
173
+ SQL (0.0ms) SET client_min_messages TO 'panic'
174
+ SQL (1.0ms) SET standard_conforming_strings = on
175
+ SQL (1.0ms) SET client_min_messages TO 'notice'
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"
181
+ SQL (0.0ms) SHOW client_min_messages
182
+ SQL (0.0ms) SET client_min_messages TO 'panic'
183
+ SQL (0.0ms) SET standard_conforming_strings = on
184
+ SQL (0.0ms) SET client_min_messages TO 'notice'
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"
190
+ SQL (0.0ms) SHOW client_min_messages
191
+ SQL (0.0ms) SET client_min_messages TO 'panic'
192
+ SQL (0.0ms) SET standard_conforming_strings = on
193
+ SQL (0.0ms) SET client_min_messages TO 'notice'
194
+ SQL (0.0ms) SHOW TIME ZONE
195
+ SQL (0.0ms) SHOW client_min_messages
196
+ SQL (0.0ms) SET client_min_messages TO 'panic'
197
+ SQL (0.0ms) SET standard_conforming_strings = on
198
+ SQL (1.0ms) SET client_min_messages TO 'notice'
199
+ SQL (0.0ms) SHOW TIME ZONE
200
+ SQL (0.0ms) SHOW client_min_messages
201
+ SQL (0.0ms) SET client_min_messages TO 'panic'
202
+ SQL (0.0ms) SET standard_conforming_strings = on
203
+ SQL (0.0ms) SET client_min_messages TO 'notice'
204
+ SQL (0.0ms) SHOW TIME ZONE
205
+ TypeError: wrong argument type Arel::SelectManager (expected String): #<Arel::SelectManager:0x59f0df0>
206
+ SQL (1.0ms) SHOW client_min_messages
207
+ SQL (1.0ms) SET client_min_messages TO 'panic'
208
+ SQL (0.0ms) SET standard_conforming_strings = on
209
+ SQL (0.0ms) SET client_min_messages TO 'notice'
210
+ SQL (1.0ms) SHOW TIME ZONE
211
+ SQL (0.0ms) SHOW client_min_messages
212
+ SQL (0.0ms) SET client_min_messages TO 'panic'
213
+ SQL (0.0ms) SET standard_conforming_strings = on
214
+ SQL (0.0ms) SET client_min_messages TO 'notice'
215
+ SQL (1.0ms) SHOW TIME ZONE
216
+ SQL (0.0ms) SHOW client_min_messages
217
+ SQL (0.0ms) SET client_min_messages TO 'panic'
218
+ SQL (1.0ms) SET standard_conforming_strings = on
219
+ SQL (0.0ms) SET client_min_messages TO 'notice'
220
+ SQL (0.0ms) SHOW TIME ZONE
221
+ SQL (1.0ms) SHOW client_min_messages
222
+ SQL (0.0ms) SET client_min_messages TO 'panic'
223
+ SQL (1.0ms) SET standard_conforming_strings = on
224
+ SQL (0.0ms) SET client_min_messages TO 'notice'
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"
230
+ SQL (1.0ms) SHOW client_min_messages
231
+ SQL (1.0ms) SET client_min_messages TO 'panic'
232
+ SQL (0.0ms) SET standard_conforming_strings = on
233
+ SQL (0.0ms) SET client_min_messages TO 'notice'
234
+ SQL (0.0ms) SHOW TIME ZONE
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
238
+ SQL (0.0ms) SET client_min_messages TO 'notice'
239
+ SQL (0.0ms) SHOW TIME ZONE
240
+ SQL (0.0ms) SHOW client_min_messages
241
+ SQL (0.0ms) SET client_min_messages TO 'panic'
242
+ SQL (0.0ms) SET standard_conforming_strings = on
243
+ SQL (0.0ms) SET client_min_messages TO 'notice'
244
+ SQL (0.0ms) SHOW TIME ZONE
245
+ SQL (0.0ms) SHOW client_min_messages
246
+ SQL (0.0ms) SET client_min_messages TO 'panic'
247
+ SQL (0.0ms) SET standard_conforming_strings = on
248
+ SQL (0.0ms) SET client_min_messages TO 'notice'
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"
254
+ SQL (0.0ms) SHOW client_min_messages
255
+ SQL (0.0ms) SET client_min_messages TO 'panic'
256
+ SQL (0.0ms) SET standard_conforming_strings = on
257
+ SQL (0.0ms) SET client_min_messages TO 'notice'
258
+ SQL (0.0ms) SHOW TIME ZONE
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'
270
+ SQL (0.0ms) SET standard_conforming_strings = on
271
+ SQL (0.0ms) SET client_min_messages TO 'notice'
272
+ SQL (0.0ms) SHOW TIME ZONE
273
+ SQL (0.0ms) SHOW client_min_messages
274
+ SQL (1.0ms) SET client_min_messages TO 'panic'
275
+ SQL (0.0ms) SET standard_conforming_strings = on
276
+ SQL (0.0ms) SET client_min_messages TO 'notice'
277
+ SQL (1.0ms) SHOW TIME ZONE
278
+ SQL (0.0ms) SHOW client_min_messages
279
+ SQL (0.0ms) SET client_min_messages TO 'panic'
280
+ SQL (0.0ms) SET standard_conforming_strings = on
281
+ SQL (0.0ms) SET client_min_messages TO 'notice'
282
+ SQL (0.0ms) SHOW TIME ZONE
283
+ SQL (1.0ms) SHOW client_min_messages
284
+ SQL (0.0ms) SET client_min_messages TO 'panic'
285
+ SQL (0.0ms) SET standard_conforming_strings = on
286
+ SQL (0.0ms) SET client_min_messages TO 'notice'
287
+ SQL (0.0ms) SHOW TIME ZONE
288
+ SQL (29.0ms) SHOW client_min_messages
289
+ SQL (0.0ms) SET client_min_messages TO 'panic'
290
+ SQL (0.0ms) SET standard_conforming_strings = on
291
+ SQL (1.0ms) SET client_min_messages TO 'notice'
292
+ SQL (0.0ms) SHOW TIME ZONE
293
+ PGError: ERROR: null value in column "product_id" violates not-null constraint
294
+ : UPDATE "product_tariffs" SET "product_id" = NULL WHERE "product_tariffs"."product_id" = 1 AND "product_tariffs"."product_id" = 1 AND "product_tariffs"."tariff_id" = 2 AND "product_tariffs"."tariff_start_date" = '2010-11-20'
295
+ SQL (1.0ms) SHOW client_min_messages
296
+ SQL (0.0ms) SET client_min_messages TO 'panic'
297
+ SQL (0.0ms) SET standard_conforming_strings = on
298
+ SQL (0.0ms) SET client_min_messages TO 'notice'
299
+ SQL (0.0ms) SHOW TIME ZONE
300
+ SQL (1.0ms) SHOW client_min_messages
301
+ SQL (0.0ms) SET client_min_messages TO 'panic'
302
+ SQL (1.0ms) SET standard_conforming_strings = on
303
+ SQL (0.0ms) SET client_min_messages TO 'notice'
304
+ SQL (0.0ms) SHOW TIME ZONE
305
+ SQL (0.0ms) SHOW client_min_messages
306
+ SQL (0.0ms) SET client_min_messages TO 'panic'
307
+ SQL (0.0ms) SET standard_conforming_strings = on
308
+ SQL (15.6ms) SET client_min_messages TO 'notice'
309
+ SQL (0.0ms) SHOW TIME ZONE
310
+ SQL (0.0ms) SHOW client_min_messages
311
+ SQL (0.0ms) SET client_min_messages TO 'panic'
312
+ SQL (0.0ms) SET standard_conforming_strings = on
313
+ SQL (0.0ms) SET client_min_messages TO 'notice'
314
+ SQL (0.0ms) SHOW TIME ZONE
315
+ SQL (0.0ms) SHOW client_min_messages
316
+ SQL (0.0ms) SET client_min_messages TO 'panic'
317
+ SQL (0.0ms) SET standard_conforming_strings = on
318
+ SQL (0.0ms) SET client_min_messages TO 'notice'
319
+ SQL (0.0ms) SHOW TIME ZONE
320
+ SQL (0.0ms) SHOW client_min_messages
321
+ SQL (0.0ms) SET client_min_messages TO 'panic'
322
+ SQL (0.0ms) SET standard_conforming_strings = on
323
+ SQL (0.0ms) SET client_min_messages TO 'notice'
324
+ SQL (0.0ms) SHOW TIME ZONE
325
+ SQL (0.0ms) SHOW client_min_messages
326
+ SQL (0.0ms) SET client_min_messages TO 'panic'
327
+ SQL (0.0ms) SET standard_conforming_strings = on
328
+ SQL (0.0ms) SET client_min_messages TO 'notice'
329
+ SQL (0.0ms) SHOW TIME ZONE
330
+ SQL (0.0ms) SHOW client_min_messages
331
+ SQL (0.0ms) SET client_min_messages TO 'panic'
332
+ SQL (0.0ms) SET standard_conforming_strings = on
333
+ SQL (0.0ms) SET client_min_messages TO 'notice'
334
+ SQL (0.0ms) SHOW TIME ZONE
335
+ SQL (0.0ms) SHOW client_min_messages
336
+ SQL (0.0ms) SET client_min_messages TO 'panic'
337
+ SQL (0.0ms) SET standard_conforming_strings = on
338
+ SQL (0.0ms) SET client_min_messages TO 'notice'
339
+ SQL (0.0ms) SHOW TIME ZONE
340
+ SQL (0.0ms) SHOW client_min_messages
341
+ SQL (0.0ms) SET client_min_messages TO 'panic'
342
+ SQL (0.0ms) SET standard_conforming_strings = on
343
+ SQL (0.0ms) SET client_min_messages TO 'notice'
344
+ SQL (0.0ms) SHOW TIME ZONE
345
+ SQL (0.0ms) SHOW client_min_messages
346
+ SQL (0.0ms) SET client_min_messages TO 'panic'
347
+ SQL (0.0ms) SET standard_conforming_strings = on
348
+ SQL (0.0ms) SET client_min_messages TO 'notice'
349
+ SQL (0.0ms) SHOW TIME ZONE
350
+ SQL (0.0ms) SHOW client_min_messages
351
+ SQL (0.0ms) SET client_min_messages TO 'panic'
352
+ SQL (0.0ms) SET standard_conforming_strings = on
353
+ SQL (0.0ms) SET client_min_messages TO 'notice'
354
+ SQL (15.6ms) SHOW TIME ZONE
355
+ SQL (0.0ms) SHOW client_min_messages
356
+ SQL (0.0ms) SET client_min_messages TO 'panic'
357
+ SQL (0.0ms) SET standard_conforming_strings = on
358
+ SQL (0.0ms) SET client_min_messages TO 'notice'
359
+ SQL (0.0ms) SHOW TIME ZONE
360
+ SQL (0.0ms) SHOW client_min_messages
361
+ SQL (0.0ms) SET client_min_messages TO 'panic'
362
+ SQL (0.0ms) SET standard_conforming_strings = on
363
+ SQL (0.0ms) SET client_min_messages TO 'notice'
364
+ SQL (0.0ms) SHOW TIME ZONE
365
+ SQL (0.0ms) SHOW client_min_messages
366
+ SQL (0.0ms) SET client_min_messages TO 'panic'
367
+ SQL (0.0ms) SET standard_conforming_strings = on
368
+ SQL (0.0ms) SET client_min_messages TO 'notice'
369
+ SQL (0.0ms) SHOW TIME ZONE
370
+ SQL (0.0ms) SHOW client_min_messages
371
+ SQL (0.0ms) SET client_min_messages TO 'panic'
372
+ SQL (0.0ms) SET standard_conforming_strings = on
373
+ SQL (0.0ms) SET client_min_messages TO 'notice'
374
+ SQL (0.0ms) SHOW TIME ZONE
375
+ SQL (0.0ms) SHOW client_min_messages
376
+ SQL (0.0ms) SET client_min_messages TO 'panic'
377
+ SQL (0.0ms) SET standard_conforming_strings = on
378
+ SQL (0.0ms) SET client_min_messages TO 'notice'
379
+ SQL (0.0ms) SHOW TIME ZONE
380
+ SQL (0.0ms) SHOW client_min_messages
381
+ SQL (0.0ms) SET client_min_messages TO 'panic'
382
+ SQL (0.0ms) SET standard_conforming_strings = on
383
+ SQL (0.0ms) SET client_min_messages TO 'notice'
384
+ SQL (0.0ms) SHOW TIME ZONE
385
+ PGError: ERROR: column "tariff_idstart_date" does not exist
386
+ LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
387
+ ^
388
+ : 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"
389
+ PGError: ERROR: operator does not exist: character varying = integer
390
+ LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
391
+ ^
392
+ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
393
+ : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
394
+ SQL (0.0ms) SHOW client_min_messages
395
+ SQL (0.0ms) SET client_min_messages TO 'panic'
396
+ SQL (0.0ms) SET standard_conforming_strings = on
397
+ SQL (0.0ms) SET client_min_messages TO 'notice'
398
+ SQL (0.0ms) SHOW TIME ZONE
399
+ SQL (0.0ms) SHOW client_min_messages
400
+ SQL (0.0ms) SET client_min_messages TO 'panic'
401
+ SQL (0.0ms) SET standard_conforming_strings = on
402
+ SQL (0.0ms) SET client_min_messages TO 'notice'
403
+ SQL (0.0ms) SHOW TIME ZONE
404
+ SQL (0.0ms) SHOW client_min_messages
405
+ SQL (0.0ms) SET client_min_messages TO 'panic'
406
+ SQL (0.0ms) SET standard_conforming_strings = on
407
+ SQL (0.0ms) SET client_min_messages TO 'notice'
408
+ SQL (0.0ms) SHOW TIME ZONE
409
+ SQL (0.0ms) SHOW client_min_messages
410
+ SQL (0.0ms) SET client_min_messages TO 'panic'
411
+ SQL (0.0ms) SET standard_conforming_strings = on
412
+ SQL (0.0ms) SET client_min_messages TO 'notice'
413
+ SQL (0.0ms) SHOW TIME ZONE
414
+ SQL (0.0ms) SHOW client_min_messages
415
+ SQL (0.0ms) SET client_min_messages TO 'panic'
416
+ SQL (0.0ms) SET standard_conforming_strings = on
417
+ SQL (0.0ms) SET client_min_messages TO 'notice'
418
+ SQL (0.0ms) SHOW TIME ZONE
419
+ SQL (0.0ms) SHOW client_min_messages
420
+ SQL (0.0ms) SET client_min_messages TO 'panic'
421
+ SQL (0.0ms) SET standard_conforming_strings = on
422
+ SQL (0.0ms) SET client_min_messages TO 'notice'
423
+ SQL (0.0ms) SHOW TIME ZONE
424
+ SQL (0.0ms) SHOW client_min_messages
425
+ SQL (0.0ms) SET client_min_messages TO 'panic'
426
+ SQL (15.6ms) SET standard_conforming_strings = on
427
+ SQL (0.0ms) SET client_min_messages TO 'notice'
428
+ SQL (0.0ms) SHOW TIME ZONE
429
+ SQL (0.0ms) SHOW client_min_messages
430
+ SQL (0.0ms) SET client_min_messages TO 'panic'
431
+ SQL (0.0ms) SET standard_conforming_strings = on
432
+ SQL (0.0ms) SET client_min_messages TO 'notice'
433
+ SQL (0.0ms) SHOW TIME ZONE
434
+ PGError: ERROR: column "tariff_idstart_date" does not exist
435
+ LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
436
+ ^
437
+ : 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"
438
+ PGError: ERROR: operator does not exist: character varying = integer
439
+ LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
440
+ ^
441
+ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
442
+ : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
443
+ SQL (0.0ms) SHOW client_min_messages
444
+ SQL (0.0ms) SET client_min_messages TO 'panic'
445
+ SQL (0.0ms) SET standard_conforming_strings = on
446
+ SQL (0.0ms) SET client_min_messages TO 'notice'
447
+ SQL (0.0ms) SHOW TIME ZONE
448
+ SQL (0.0ms) SHOW client_min_messages
449
+ SQL (0.0ms) SET client_min_messages TO 'panic'
450
+ SQL (0.0ms) SET standard_conforming_strings = on
451
+ SQL (0.0ms) SET client_min_messages TO 'notice'
452
+ SQL (0.0ms) SHOW TIME ZONE
453
+ SQL (0.0ms) SHOW client_min_messages
454
+ SQL (0.0ms) SET client_min_messages TO 'panic'
455
+ SQL (0.0ms) SET standard_conforming_strings = on
456
+ SQL (0.0ms) SET client_min_messages TO 'notice'
457
+ SQL (0.0ms) SHOW TIME ZONE
458
+ SQL (1.0ms) SHOW client_min_messages
459
+ SQL (0.0ms) SET client_min_messages TO 'panic'
460
+ SQL (0.0ms) SET standard_conforming_strings = on
461
+ SQL (1.0ms) SET client_min_messages TO 'notice'
462
+ SQL (0.0ms) SHOW TIME ZONE
463
+ PGError: ERROR: null value in column "franchise_id" violates not-null constraint
464
+ : INSERT INTO "restaurants_suburbs" ("suburb_id", "city_id") VALUES (22, 22)
465
+ SQL (0.0ms) SHOW client_min_messages
466
+ SQL (1.0ms) SET client_min_messages TO 'panic'
467
+ SQL (0.0ms) SET standard_conforming_strings = on
468
+ SQL (0.0ms) SET client_min_messages TO 'notice'
469
+ SQL (0.0ms) SHOW TIME ZONE
470
+ SQL (0.0ms) SHOW client_min_messages
471
+ SQL (0.0ms) SET client_min_messages TO 'panic'
472
+ SQL (0.0ms) SET standard_conforming_strings = on
473
+ SQL (1.0ms) SET client_min_messages TO 'notice'
474
+ SQL (0.0ms) SHOW TIME ZONE
475
+ SQL (0.0ms) SHOW client_min_messages
476
+ SQL (0.0ms) SET client_min_messages TO 'panic'
477
+ SQL (0.0ms) SET standard_conforming_strings = on
478
+ SQL (0.0ms) SET client_min_messages TO 'notice'
479
+ SQL (0.0ms) SHOW TIME ZONE
480
+ SQL (1.0ms) SHOW client_min_messages
481
+ SQL (0.0ms) SET client_min_messages TO 'panic'
482
+ SQL (0.0ms) SET standard_conforming_strings = on
483
+ SQL (0.0ms) SET client_min_messages TO 'notice'
484
+ SQL (1.0ms) SHOW TIME ZONE
485
+ SQL (0.0ms) SHOW client_min_messages
486
+ SQL (1.0ms) SET client_min_messages TO 'panic'
487
+ SQL (0.0ms) SET standard_conforming_strings = on
488
+ SQL (0.0ms) SET client_min_messages TO 'notice'
489
+ SQL (0.0ms) SHOW TIME ZONE
490
+ SQL (1.0ms) SHOW client_min_messages
491
+ SQL (1.0ms) SET client_min_messages TO 'panic'
492
+ SQL (0.0ms) SET standard_conforming_strings = on
493
+ SQL (0.0ms) SET client_min_messages TO 'notice'
494
+ SQL (0.0ms) SHOW TIME ZONE
495
+ SQL (1.0ms) SHOW client_min_messages
496
+ SQL (1.0ms) SET client_min_messages TO 'panic'
497
+ SQL (0.0ms) SET standard_conforming_strings = on
498
+ SQL (0.0ms) SET client_min_messages TO 'notice'
499
+ SQL (1.0ms) SHOW TIME ZONE
500
+ SQL (0.0ms) SHOW client_min_messages
501
+ SQL (0.0ms) SET client_min_messages TO 'panic'
502
+ SQL (0.0ms) SET standard_conforming_strings = on
503
+ SQL (0.0ms) SET client_min_messages TO 'notice'
504
+ SQL (0.0ms) SHOW TIME ZONE
505
+ SQL (0.0ms) SHOW client_min_messages
506
+ SQL (1.0ms) SET client_min_messages TO 'panic'
507
+ SQL (0.0ms) SET standard_conforming_strings = on
508
+ SQL (0.0ms) SET client_min_messages TO 'notice'
509
+ SQL (0.0ms) SHOW TIME ZONE
510
+ SQL (0.0ms) SHOW client_min_messages
511
+ SQL (0.0ms) SET client_min_messages TO 'panic'
512
+ SQL (0.0ms) SET standard_conforming_strings = on
513
+ SQL (0.0ms) SET client_min_messages TO 'notice'
514
+ SQL (0.0ms) SHOW TIME ZONE
515
+ SQL (1.0ms) SHOW client_min_messages
516
+ SQL (0.0ms) SET client_min_messages TO 'panic'
517
+ SQL (0.0ms) SET standard_conforming_strings = on
518
+ SQL (1.0ms) SET client_min_messages TO 'notice'
519
+ SQL (0.0ms) SHOW TIME ZONE
520
+ SQL (0.0ms) SHOW client_min_messages
521
+ SQL (0.0ms) SET client_min_messages TO 'panic'
522
+ SQL (0.0ms) SET standard_conforming_strings = on
523
+ SQL (0.0ms) SET client_min_messages TO 'notice'
524
+ SQL (1.0ms) SHOW TIME ZONE
525
+ PGError: ERROR: column "tariff_idstart_date" does not exist
526
+ LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
527
+ ^
528
+ : 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"
529
+ PGError: ERROR: operator does not exist: character varying = integer
530
+ LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
531
+ ^
532
+ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
533
+ : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
534
+ SQL (0.0ms) SHOW client_min_messages
535
+ SQL (0.0ms) SET client_min_messages TO 'panic'
536
+ SQL (0.0ms) SET standard_conforming_strings = on
537
+ SQL (0.0ms) SET client_min_messages TO 'notice'
538
+ SQL (0.0ms) SHOW TIME ZONE
539
+ PGError: ERROR: column "tariff_idstart_date" does not exist
540
+ LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
541
+ ^
542
+ : 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"
543
+ PGError: ERROR: operator does not exist: character varying = integer
544
+ LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
545
+ ^
546
+ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
547
+ : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
548
+ SQL (0.0ms) SHOW client_min_messages
549
+ SQL (0.0ms) SET client_min_messages TO 'panic'
550
+ SQL (0.0ms) SET standard_conforming_strings = on
551
+ SQL (1.0ms) SET client_min_messages TO 'notice'
552
+ SQL (0.0ms) SHOW TIME ZONE
553
+ PGError: ERROR: column "tariff_idstart_date" does not exist
554
+ LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
555
+ ^
556
+ : 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"
557
+ PGError: ERROR: operator does not exist: character varying = integer
558
+ LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
559
+ ^
560
+ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
561
+ : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
562
+ SQL (35.0ms) SHOW client_min_messages
563
+ SQL (0.0ms) SET client_min_messages TO 'panic'
564
+ SQL (0.0ms) SET standard_conforming_strings = on
565
+ SQL (1.0ms) SET client_min_messages TO 'notice'
566
+ SQL (0.0ms) SHOW TIME ZONE
567
+ PGError: ERROR: column "tariff_idstart_date" does not exist
568
+ LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
569
+ ^
570
+ : 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"
571
+ PGError: ERROR: operator does not exist: character varying = integer
572
+ LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
573
+ ^
574
+ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
575
+ : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))
576
+ SQL (1.0ms) SHOW client_min_messages
577
+ SQL (0.0ms) SET client_min_messages TO 'panic'
578
+ SQL (0.0ms) SET standard_conforming_strings = on
579
+ SQL (0.0ms) SET client_min_messages TO 'notice'
580
+ SQL (0.0ms) SHOW TIME ZONE
581
+ PGError: ERROR: column "tariff_idstart_date" does not exist
582
+ LINE 1: SELECT COUNT(DISTINCT tariff_idstart_date) FROM "tariffs" LE...
583
+ ^
584
+ : 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"
585
+ PGError: ERROR: operator does not exist: character varying = integer
586
+ LINE 1: ...ments".person_type = 'User') AND ("comments".person_id = 1))
587
+ ^
588
+ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
589
+ : SELECT "hacks".* FROM "hacks" INNER JOIN "comments" ON ("hacks"."name" = "comments"."hack_id") WHERE (("comments".person_type = 'User') AND ("comments".person_id = 1))