Top "Postgresql-9.1" questions

for PostgreSQL questions specific to version 9.1.

How to exit from PostgreSQL command line utility: psql

What command or short key can I use to exit the PostgreSQL command line utility psql?

postgresql postgresql-9.1 psql
I forgot the password I entered during postgres installation

I either forgot or mistyped (during the installation) the password to the default user of Postgres. I can't seem to …

postgresql postgresql-9.1 forgot-password
must appear in the GROUP BY clause or be used in an aggregate function

I have a table that looks like this caller 'makerar' cname | wmname | avg --------+-------------+------------------------ canada | zoro | 2.0000000000000000 spain | luffy | 1.00000000000000000000 …

sql group-by aggregate-functions postgresql-9.1
"use database_name" command in PostgreSQL

I am beginner to PostgreSQL. I want to connect to another database from the query editor of Postgres - like …

postgresql postgresql-9.1
List tables in a PostgreSQL schema

When I do a \dt in psql I only get a listing of tables in the current schema (public by …

postgresql postgresql-9.1 psql
How do I convert an integer to string as part of a PostgreSQL query?

How do I convert an integer to string as part of a PostgreSQL query? So, for example, I need: SELECT * …

postgresql postgresql-9.1
Store query result in a variable using in PL/pgSQL

How to assign the result of a query to a variable in PL/pgSQL, the procedural language of PostgreSQL? I …

database postgresql stored-procedures plpgsql postgresql-9.1
Change type of varchar field to integer: "cannot be cast automatically to type integer"

I have a small table and a certain field contains the type "character varying". I'm trying to change it to "…

postgresql casting postgresql-9.1 fieldtype
postgres, ubuntu how to restart service on startup? get stuck on clustering after instance reboot

I have a Postgres db 9.1 running on AWS EC2, with ubuntu 12.04. I messed a lot with the instance (i.e …

ubuntu ubuntu-12.04 postgresql-9.1
How to use SQL LIKE condition with multiple values in PostgreSQL?

Is there any shorter way to look for multiple matches: SELECT * from table WHERE column LIKE "AAA%" OR column LIKE "…

sql postgresql postgresql-9.1