Displaying 20 results from an estimated 100000 matches similar to: ""End of file reached" - Postgres"
2004 Jun 23
0
UPDATE Patch for postgres enabled app_voicemail.c
I forgot to take out the portion that would read in the voicemail boxes from
the text file. If you want to leave it in then you could have some voicemail
boxes defined in the text voicemail.conf. I do not, so I have removed it.
Below is the new patch:
*** app_voicemail.c 2004-06-23 07:55:54.000000000 -0600
--- app_voicemail.c.new 2004-06-23 07:55:47.000000000 -0600
***************
*** 49,61 ****
2004 Jun 23
0
Patch for postgres enabled app_voicemail.c
Hello all,
I am just getting going on building my system, but I thought I'd send you
all a patch that I wrote so the command:
show voicemail users
issued from the CLI works properly when there is a postgres backend for the
voicemail. The current version of the app does not display the voicemail
boxes found in a database.
It is called in the load_config function. I haven't done
2006 Jul 31
3
PostgreSQL, postgres gem, rails2.pdf, http://ruby.scripting.ca/postgres/ confusion...
Hello people...
In the rails2.pdf Dave T says:
Rails works with the DB2, MySQL, Oracle, Postgres,...
The database drivers are all written in C and are primarily distributed in
source form.
Then he lists this site:
http://ruby.scripting.ca/postgres/
Then he says,
There is a pure-Ruby version of the Postgres adapter available. Download
postgres-pr from the Ruby-DBI page at
2007 May 11
1
postgres erros on RHEL 4
Hi All,
I set up posgresql on RedHat El4. Below are rpms I installed.
[root at LinuxBox etc]# rpm -qa |grep postgres
postgresql-libs-7.4.16-1.RHEL4.1
postgresql-devel-7.4.16-1.RHEL4.1
postgresql-7.4.16-1.RHEL4.1
postgresql-python-7.4.16-1.RHEL4.1
postgresql-server-7.4.16-1.RHEL4.1
Then, I did below commands to create a user and a database.
[root at box root]# su postgres
bash-3.1$ createuser
2008 Apr 07
2
CentOS, Postgres init and puppet
Me again!
I have a recipe that looks like:
class postgresql {
file { pg_hba_conf:
name => "/var/lib/pgsql/data/pg_hba.conf",
source =>
"puppet://puppetmaster/files/workstations/common/var/lib/pgsql/data/pg_hba.conf",
owner => postgres,
group => postgres,
mode => 600,
subscribe => [ Package[postgresql] ],
2009 Jul 06
1
[PATCH server] add ipv6 postgres trust
If management server has ipv6 enabled and postgres is not configured to allow localhost access via ::1 the postgres service will fail.
---
installer/modules/ovirt/manifests/postgres.pp | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/installer/modules/ovirt/manifests/postgres.pp b/installer/modules/ovirt/manifests/postgres.pp
index 36bcdc0..12b7764 100644
---
2005 Mar 29
7
Fade Anything Technique (FAT)
Has anyone used the built in FAT (Fade Anything Technique) that exists in 0.11.1
of Rails? I could not find anything in the documentation so I was wondering if
anyone has any code snippets on how they used it?
Thanks for your help.
John
2005 Oct 29
0
postgres 8.0, PQsetdbLogin() in -lpq... no
People,
I got rails talking to PostgreSQL 8.0 on my Mac!
Once upon a time:
I''m on a Mac.
I want to use postqreSQL 8.0 to backend my rails.
I tried a gem install...
zmac11:/cd/rubythings/ruby-postgres oracle$
zmac11:/cd/rubythings/ruby-postgres oracle$
zmac11:/cd/rubythings/ruby-postgres oracle$
zmac11:/cd/rubythings/ruby-postgres oracle$ gem install postgres
ERROR: While executing
2010 Aug 19
4
Postgres, concurrency, and rails
I work on a fairly large website that uses Ruby 1.8.6 and Rails 1.2.3.
We cannot upgrade as it will hopelessly break our code. We are working
on a new version in Java but for the next year at least we are stuck
with the legacy system. We use the latest version of Postgresql for the
database using the postgres-pr gem.
I am attempting to implement cron tasks within the system using Rufus
Scheduler,
2005 May 01
2
Active Record and Postgres table inheritance?
Active Record doesn''t appear to have support for table inheritance implemented
in PostgreSQL as described in
http://www.postgresql.org/docs/8.0/interactive/ddl-inherit.html.
Is anyone working on such a thing or is their some compelling reason to avoid
this feature?
I am new to Ruby and Rails, but it doesn''t seem like it would be to difficult
to adapt the current Active
2005 Jun 06
14
Handling Images And Rails
On my website people will be able to upload images of themselves. I
was wondering how people are presently handling uploading, resizing
and optimizing images in Rails? Do you use a specific piece of
software to do it? What would you guys recommend? Any code from
RailsDay? :-)
Also, do you guys store the images in the DB or just as files? What
do you suggest? What are the pros and
2011 Oct 26
4
Help wanted: pg vs. postgres-pr gems
Hi all,
I installed Rails 3.0 + PostgreSQL 8.4.
Installed the gem postgre-pr
I added " gem ''postgres-pr'' " to my Gemfile
I defined my database.yml with:
# PostgreSQL 8.4
development:
adapter: postgresql
encoding: unicode
database: testdb
pool: 5
username: test
password: ******
I run rails server which starts, but application environment returns
this error:
2006 Jan 20
3
postgres db setup
All of the tutorials and the Agile book use MySQL and I''ve got that
working. I am now trying to use PostgreSQL and can''t seem to get going.
Is my problem the db setup in postgresql?
I have installed postgres-pr
The error message when I try to access http://localhost:3000/clients
when using PostgreSQL (MySQL works fine)
ActiveRecord::StatementInvalid (RuntimeError:
ERROR
2006 Jun 28
9
Scaffold Issue with Postgres
Hi guys,
I''ve been able to successfully install the postgres adapter for a remote
database machine to get rails up. My machine is running on Fedora 2.
Rails version 1.1.2. Is my yml config correct? I am getting this error
when I execute script/generate scaffold service_contents content :
exists app/controllers/
exists app/helpers/
create app/views/spiel
exists
2009 Jun 19
0
[PATCH server] make postgres wait for starting to complete before creating databases
---
installer/modules/ovirt/manifests/postgres.pp | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/installer/modules/ovirt/manifests/postgres.pp b/installer/modules/ovirt/manifests/postgres.pp
index 6620a88..a711e32 100644
--- a/installer/modules/ovirt/manifests/postgres.pp
+++ b/installer/modules/ovirt/manifests/postgres.pp
@@ -38,10 +38,15 @@ class
2009 Feb 07
2
installing ruby-postgres gem
I''m starting to look at postgres because I''m going to need it for its
GIS extensions. But I run in into a problem when trying to install the
ruby-postgres gem. I get this error
Building native extensions. This could take a while...
ERROR: Error installing ruby-postgres:
ERROR: Failed to build gem native extension.
blah
blah
blah etc
postgres.c:31: error: conflicting types
2009 Jun 05
0
[PATCH server] update postgres for ipv6 support, or db:migrate will fail
If the ::1 ipv6 loopback entry is missing in pg_hba.conf rake db:migrate will fail
rake aborted!
FATAL: no pg_hba.conf entry for host "::1", user "ovirt", database "ovirt_development", SSL off
---
installer/modules/ovirt/manifests/postgres.pp | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git
2006 Apr 20
1
Unable to connect to postgres on Fedora Core 5
I have been struggling for hours trying to connect Rails to postgresql.
I have trawled google results - all to no avail! I have installed the
postgres gem but it doesn''t appear to install properly:
# gem install postgres
Attempting local installation of ''postgres''
Local gem file not found: postgres*.gem
Attempting remote installation of ''postgres''
2007 Jun 03
1
postgres gem -- LoadError
I''m at a loss to explain why the postgres gem will not work on my new
server. I''ve gotten it working on several other servers in the past.
The major difference between then and now is that I''m using a newer
version of PostgreSQL. 8.x as opposed to 7.x.
=== Server setup
OS: Fedora Core 6
(Commands shown with "$" are performed as the same user that mongrel
2012 Oct 11
2
Coupure de connexion entre Rails 3.2.7 et Postgres 8.4
Bonjour à tous,
Je développe une grosse application en Rails 3.2.7 qui est connecté à
une BD Postgres 8.4 installée sur la même machine. L''application
s''exécute sur Apache avec le module Passenger.
L''application est constamment utilisée par une centaine d''utilisateurs
et ne pose aucun problème pendant plusieurs heures puis, d''un coup,
Rails ne