Top "Postgresql-9.1" questions

for PostgreSQL questions specific to version 9.1.

Postgresql: ERROR: type "citext" does not exist

I have read other posts, when searching, an answer to this question. I am using PostgreSQL 9.1, and created extension 'citext' …

postgresql-9.1
Connection refused (PGError) (postgresql and rails)

I keep getting this error when i try to run my localhost using "$rails s": (Mac OSX 10.8.3) (ruby 2.0.0p195 (2013-05…

ruby-on-rails postgresql postgresql-9.1 postgresql-9.2 rails-postgresql
Dynamically generate columns for crosstab in PostgreSQL

I am trying to create crosstab queries in PostgreSQL such that it automatically generates the crosstab columns instead of hardcoding …

postgresql plpgsql dynamic-sql postgresql-9.1 crosstab
PostgreSQL 9.1: How to concatenate rows in array without duplicates, JOIN another table

I am using PostgreSQL 9.1 and need help with concatenating multiple rows in one. I need to do that in 2 tables. …

sql postgresql postgresql-9.1
If PostgreSQL count(*) is always slow how to paginate complex queries?

If PostgreSQL's count(*) is always slow how to paginate complex queries? Making triggers doesn't seem to be a good solution …

performance postgresql postgresql-9.1
What are the pros and cons for choosing a character varying data type for primary key in SQL?

In the databases course that I did during my education (approx. 4 years ago), I thought that it is recommended avoiding …

sql foreign-keys primary-key postgresql-9.1 sqldatatypes
Grant "create schema" ON database to a user?

I'm using PostgreSQL 9.1 and have to to grant "create schema" ON database to a user. How can I do that?

postgresql postgresql-9.1 role
Get interval in milliseconds

I have a procedure that contains code like this: processStart := current_timestamp; -- run statement(s) processEnd := current_timestamp; elapsed := …

postgresql postgresql-9.1 intervals
How to do Pivoting in PostgreSQL

I am new to PostgreSQL. Suppose I have a table as under colorname Hexa rgb rgbvalue Violet #8B00FF r 139 …

postgresql pivot postgresql-9.1
How to handle special characters in the password of a Postgresql URL connection string?

Using a Postgresql URL connection string in the format of: postgresql://user:secret@localhost How do I handle special characters …

postgresql url connection-string postgresql-9.1