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.
- data/History.txt +6 -0
- data/Rakefile +10 -1
- data/lib/composite_primary_keys.rb +75 -75
- data/lib/composite_primary_keys/base.rb +190 -194
- data/lib/composite_primary_keys/composite_arrays.rb +23 -23
- data/lib/composite_primary_keys/finder_methods.rb +0 -11
- data/lib/composite_primary_keys/reflection.rb +38 -38
- data/lib/composite_primary_keys/version.rb +2 -2
- data/test/abstract_unit.rb +3 -2
- data/test/connections/connection_spec.rb +1 -2
- data/test/connections/databases.example.yml +14 -12
- data/test/connections/databases.yml +14 -14
- data/test/connections/native_ibm_db/connection.rb +0 -3
- data/test/connections/native_mysql/connection.rb +3 -9
- data/test/connections/native_oracle/connection.rb +4 -10
- data/test/connections/native_oracle_enhanced/connection.rb +4 -11
- data/test/connections/native_postgresql/connection.rb +1 -3
- data/test/connections/native_sqlite/connection.rb +2 -4
- data/test/debug.log +589 -589
- data/test/fixtures/article.rb +5 -5
- data/test/fixtures/articles.yml +5 -5
- data/test/fixtures/capitol.rb +3 -0
- data/test/fixtures/capitols.yml +16 -0
- data/test/fixtures/db_definitions/mysql.sql +5 -0
- data/test/fixtures/db_definitions/postgresql.sql +5 -0
- data/test/fixtures/product.rb +7 -7
- data/test/fixtures/product_tariff.rb +5 -5
- data/test/fixtures/product_tariffs.yml +12 -12
- data/test/fixtures/products.yml +5 -5
- data/test/fixtures/reading.rb +4 -4
- data/test/fixtures/readings.yml +9 -9
- data/test/fixtures/reference_code.rb +7 -7
- data/test/fixtures/reference_codes.yml +29 -29
- data/test/fixtures/reference_type.rb +7 -7
- data/test/fixtures/reference_types.yml +9 -9
- data/test/fixtures/suburb.rb +5 -5
- data/test/fixtures/suburbs.yml +8 -8
- data/test/fixtures/tariff.rb +6 -6
- data/test/fixtures/tariffs.yml +12 -12
- data/test/fixtures/user.rb +10 -10
- data/test/fixtures/users.yml +5 -5
- data/test/hash_tricks.rb +34 -34
- data/test/test_associations.rb +180 -180
- data/test/test_attribute_methods.rb +0 -2
- data/test/test_attributes.rb +0 -5
- data/test/test_clone.rb +31 -33
- data/test/test_composite_arrays.rb +0 -2
- data/test/test_create.rb +0 -4
- data/test/test_delete.rb +92 -96
- data/test/test_equal.rb +21 -0
- data/test/test_exists.rb +0 -2
- data/test/test_find.rb +79 -76
- data/test/test_ids.rb +81 -83
- data/test/test_miscellaneous.rb +36 -38
- data/test/test_pagination.rb +35 -37
- data/test/test_polymorphic.rb +0 -6
- data/test/test_santiago.rb +23 -27
- data/test/test_suite.rb +1 -0
- data/test/test_tutorial_example.rb +0 -4
- data/test/test_update.rb +37 -39
- data/test/test_validations.rb +0 -1
- 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
|
data/test/abstract_unit.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
dir = File.dirname(__FILE__)
|
2
2
|
PROJECT_ROOT = File.expand_path(File.join(dir, '..'))
|
3
3
|
|
4
|
-
adapter
|
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] =
|
25
|
+
ActiveRecord::Base.configurations[:test] = SPEC
|
25
26
|
|
26
27
|
class ActiveSupport::TestCase #:nodoc:
|
27
28
|
include ActiveRecord::TestFixtures
|
@@ -1,12 +1,14 @@
|
|
1
|
-
mysql:
|
2
|
-
adapter: mysql
|
3
|
-
username: root
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
21
|
-
ActiveRecord::Base.establish_connection(
|
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
|
-
|
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
|
+
"#{SPEC['username']}/#{SPEC['password']}@#{SPEC['host']}"
|
13
7
|
end
|
14
8
|
|
15
9
|
# Adapter config setup in locals/database_connections.rb
|
16
|
-
|
17
|
-
ActiveRecord::Base.establish_connection(
|
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
|
-
|
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
|
-
"#{
|
6
|
+
"#{SPEC['username']}/#{SPEC['password']}@#{SPEC['host']}"
|
14
7
|
end
|
15
8
|
|
16
9
|
# Adapter config setup in locals/database_connections.rb
|
17
|
-
|
18
|
-
ActiveRecord::Base.establish_connection(
|
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
|
-
|
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['
|
7
|
+
SPEC['database']
|
10
8
|
end
|
11
9
|
|
12
10
|
SPEC = CompositePrimaryKeys::ConnectionSpec[:sqlite3]
|
data/test/debug.log
CHANGED
@@ -1,589 +1,589 @@
|
|
1
|
-
# Logfile created on Sat Nov 20 00:07:06 -0700 2010 by logger.rb/22285
|
2
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
3
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
4
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
5
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
6
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
7
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
8
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
9
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
10
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
11
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
18
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
19
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
20
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
21
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
28
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
29
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
30
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
31
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
42
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
43
|
-
[1m[36mSQL (1.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
44
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
45
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
51
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
52
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
53
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
54
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
60
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
61
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
62
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
63
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
69
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
70
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
71
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
72
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
78
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
79
|
-
[1m[36mSQL (1.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
80
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
81
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
87
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
88
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
89
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
90
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
96
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
97
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
98
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
99
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
105
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
106
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
107
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
108
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
114
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
115
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
116
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
117
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
118
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
119
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
120
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
121
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
122
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
123
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
124
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
125
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
126
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
127
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
128
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
129
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
130
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
131
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
132
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
133
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
134
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
135
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
136
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
137
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
138
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
139
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
140
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
141
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
142
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
143
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
144
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
145
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
146
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
147
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
148
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
149
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
150
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
151
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
152
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
153
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
154
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
155
|
-
[1m[36mSQL (1.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
156
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
157
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
158
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
159
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
160
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
161
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
162
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
163
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
164
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
165
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
166
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
167
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
173
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
174
|
-
[1m[36mSQL (1.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
175
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
176
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
182
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
183
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
184
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
185
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
191
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
192
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
193
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
194
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
195
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
196
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
197
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
198
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
199
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
200
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
201
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
202
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
203
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
204
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
205
|
-
TypeError: wrong argument type Arel::SelectManager (expected String): #<Arel::SelectManager:0x59f0df0>
|
206
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
207
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
208
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
209
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
210
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
211
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
212
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
213
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
214
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
215
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
216
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
217
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
218
|
-
[1m[36mSQL (1.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
219
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
220
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
221
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
222
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
223
|
-
[1m[36mSQL (1.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
224
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
225
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
231
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
232
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
233
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
234
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
235
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
236
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
237
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
238
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
239
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
240
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
241
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
242
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
243
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
244
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
245
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
246
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
247
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
248
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
249
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
255
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
256
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
257
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
258
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
269
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
270
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
271
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
272
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
273
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
274
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
275
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
276
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
277
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
278
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
279
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
280
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
281
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
282
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
283
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
284
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
285
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
286
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
287
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
288
|
-
[1m[36mSQL (29.0ms)[0m [1mSHOW client_min_messages[0m
|
289
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
290
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
291
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
292
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
296
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
297
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
298
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
299
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
300
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
301
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
302
|
-
[1m[36mSQL (1.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
303
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
304
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
305
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
306
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
307
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
308
|
-
[1m[35mSQL (15.6ms)[0m SET client_min_messages TO 'notice'
|
309
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
310
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
311
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
312
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
313
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
314
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
315
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
316
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
317
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
318
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
319
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
320
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
321
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
322
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
323
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
324
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
325
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
326
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
327
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
328
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
329
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
330
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
331
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
332
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
333
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
334
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
335
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
336
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
337
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
338
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
339
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
340
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
341
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
342
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
343
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
344
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
345
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
346
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
347
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
348
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
349
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
350
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
351
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
352
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
353
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
354
|
-
[1m[36mSQL (15.6ms)[0m [1mSHOW TIME ZONE[0m
|
355
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
356
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
357
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
358
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
359
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
360
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
361
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
362
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
363
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
364
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
365
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
366
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
367
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
368
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
369
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
370
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
371
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
372
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
373
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
374
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
375
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
376
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
377
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
378
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
379
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
380
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
381
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
382
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
383
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
384
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
395
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
396
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
397
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
398
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
399
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
400
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
401
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
402
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
403
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
404
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
405
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
406
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
407
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
408
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
409
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
410
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
411
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
412
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
413
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
414
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
415
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
416
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
417
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
418
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
419
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
420
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
421
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
422
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
423
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
424
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
425
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
426
|
-
[1m[36mSQL (15.6ms)[0m [1mSET standard_conforming_strings = on[0m
|
427
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
428
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
429
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
430
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
431
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
432
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
433
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
444
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
445
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
446
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
447
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
448
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
449
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
450
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
451
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
452
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
453
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
454
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
455
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
456
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
457
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
458
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
459
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
460
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
461
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
462
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
466
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
467
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
468
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
469
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
470
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
471
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
472
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
473
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
474
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
475
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
476
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
477
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
478
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
479
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
480
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
481
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
482
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
483
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
484
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
485
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
486
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
487
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
488
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
489
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
490
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
491
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
492
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
493
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
494
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
495
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
496
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
497
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
498
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
499
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
500
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
501
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
502
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
503
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
504
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
505
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
506
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
507
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
508
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
509
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
510
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
511
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
512
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
513
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
514
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
515
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
516
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
517
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
518
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
519
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
520
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
521
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
522
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
523
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
524
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
535
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
536
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
537
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
538
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
549
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
550
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
551
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
552
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (35.0ms)[0m [1mSHOW client_min_messages[0m
|
563
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
564
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
565
|
-
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
566
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
-
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
577
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
578
|
-
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
579
|
-
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
580
|
-
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
3
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
4
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
5
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
6
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
7
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
8
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
9
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
10
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
11
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
18
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
19
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
20
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
21
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
28
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
29
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
30
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
31
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
42
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
43
|
+
[1m[36mSQL (1.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
44
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
45
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
51
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
52
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
53
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
54
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
60
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
61
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
62
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
63
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
69
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
70
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
71
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
72
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
78
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
79
|
+
[1m[36mSQL (1.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
80
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
81
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
87
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
88
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
89
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
90
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
96
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
97
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
98
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
99
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
105
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
106
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
107
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
108
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
114
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
115
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
116
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
117
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
118
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
119
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
120
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
121
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
122
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
123
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
124
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
125
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
126
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
127
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
128
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
129
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
130
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
131
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
132
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
133
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
134
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
135
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
136
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
137
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
138
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
139
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
140
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
141
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
142
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
143
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
144
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
145
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
146
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
147
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
148
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
149
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
150
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
151
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
152
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
153
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
154
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
155
|
+
[1m[36mSQL (1.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
156
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
157
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
158
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
159
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
160
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
161
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
162
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
163
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
164
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
165
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
166
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
167
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
173
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
174
|
+
[1m[36mSQL (1.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
175
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
176
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
182
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
183
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
184
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
185
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
191
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
192
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
193
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
194
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
195
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
196
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
197
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
198
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
199
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
200
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
201
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
202
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
203
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
204
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
205
|
+
TypeError: wrong argument type Arel::SelectManager (expected String): #<Arel::SelectManager:0x59f0df0>
|
206
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
207
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
208
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
209
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
210
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
211
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
212
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
213
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
214
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
215
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
216
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
217
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
218
|
+
[1m[36mSQL (1.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
219
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
220
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
221
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
222
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
223
|
+
[1m[36mSQL (1.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
224
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
225
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
231
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
232
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
233
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
234
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
235
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
236
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
237
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
238
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
239
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
240
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
241
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
242
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
243
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
244
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
245
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
246
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
247
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
248
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
249
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
255
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
256
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
257
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
258
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
269
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
270
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
271
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
272
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
273
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
274
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
275
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
276
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
277
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
278
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
279
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
280
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
281
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
282
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
283
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
284
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
285
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
286
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
287
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
288
|
+
[1m[36mSQL (29.0ms)[0m [1mSHOW client_min_messages[0m
|
289
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
290
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
291
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
292
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
296
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
297
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
298
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
299
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
300
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
301
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
302
|
+
[1m[36mSQL (1.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
303
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
304
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
305
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
306
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
307
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
308
|
+
[1m[35mSQL (15.6ms)[0m SET client_min_messages TO 'notice'
|
309
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
310
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
311
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
312
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
313
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
314
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
315
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
316
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
317
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
318
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
319
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
320
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
321
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
322
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
323
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
324
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
325
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
326
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
327
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
328
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
329
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
330
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
331
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
332
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
333
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
334
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
335
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
336
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
337
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
338
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
339
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
340
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
341
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
342
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
343
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
344
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
345
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
346
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
347
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
348
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
349
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
350
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
351
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
352
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
353
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
354
|
+
[1m[36mSQL (15.6ms)[0m [1mSHOW TIME ZONE[0m
|
355
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
356
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
357
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
358
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
359
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
360
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
361
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
362
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
363
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
364
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
365
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
366
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
367
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
368
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
369
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
370
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
371
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
372
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
373
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
374
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
375
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
376
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
377
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
378
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
379
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
380
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
381
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
382
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
383
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
384
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
395
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
396
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
397
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
398
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
399
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
400
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
401
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
402
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
403
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
404
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
405
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
406
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
407
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
408
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
409
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
410
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
411
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
412
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
413
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
414
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
415
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
416
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
417
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
418
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
419
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
420
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
421
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
422
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
423
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
424
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
425
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
426
|
+
[1m[36mSQL (15.6ms)[0m [1mSET standard_conforming_strings = on[0m
|
427
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
428
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
429
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
430
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
431
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
432
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
433
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
444
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
445
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
446
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
447
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
448
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
449
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
450
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
451
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
452
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
453
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
454
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
455
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
456
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
457
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
458
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
459
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
460
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
461
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
462
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
466
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
467
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
468
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
469
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
470
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
471
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
472
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
473
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
474
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
475
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
476
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
477
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
478
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
479
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
480
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
481
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
482
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
483
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
484
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
485
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
486
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
487
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
488
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
489
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
490
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
491
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
492
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
493
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
494
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
495
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
496
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
497
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
498
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
499
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
500
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
501
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
502
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
503
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
504
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
505
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
506
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'panic'
|
507
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
508
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
509
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
510
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
511
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
512
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
513
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
514
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
515
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
516
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
517
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
518
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
519
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
520
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
521
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
522
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
523
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
524
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
535
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
536
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
537
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
538
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW client_min_messages[0m
|
549
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
550
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
551
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
552
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (35.0ms)[0m [1mSHOW client_min_messages[0m
|
563
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
564
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
565
|
+
[1m[35mSQL (1.0ms)[0m SET client_min_messages TO 'notice'
|
566
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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
|
+
[1m[36mSQL (1.0ms)[0m [1mSHOW client_min_messages[0m
|
577
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'panic'
|
578
|
+
[1m[36mSQL (0.0ms)[0m [1mSET standard_conforming_strings = on[0m
|
579
|
+
[1m[35mSQL (0.0ms)[0m SET client_min_messages TO 'notice'
|
580
|
+
[1m[36mSQL (0.0ms)[0m [1mSHOW TIME ZONE[0m
|
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))
|