Displaying 4 results from an estimated 4 matches for "pg_".
Did you mean:
pg
2002 May 15
0
language: bug or feature: vector-subscript of list (PR#1558)
..."
test>
The same goes for assignment into recursive lists.
I find this feature essential, so I eventually wrote the workarounds below. But
I'm sure these are slow and ungainly.
Could this feature not be added as a primitive?
cheers
Mark
assign( '[[', function( var, ...) {
pg_ .Primitive( '[[')
vv_ as.name( 'var')
for( i in c(...))
vv_ call( 'pg', vv, i)
eval( vv)
})
assign( '[[<-', function( var, ..., value) {
i_ c( ...)
if( length( i)<2)
return( .Primitive( '[[<-')( var, i, value))
pa_ .Primitive( '...
2007 Feb 03
1
Postgres + tsearch2, migrations, and unit testing
...cord.schema_format = :sql in the environment since
schemas would puke at the tsvector column.
3) Copy all the inserts from the tsearch2.sql file and add it to a
separate file. Setting schema_format to sql will only have the table
structure copied to the test database, not the actual content of the
pg_* tables which is needed to configure tsearch2. I put this in
test/fixtures.
4) Overwrite the db:test:prepare task with the following:
desc ''Prepare the test database and load the schema''
task :prepare => :environment do
if defined?(ActiveRecord::Base) &&
!Ac...
2007 Oct 30
4
Postgresql and shell script
I have a shell script (sh) where I create a user and import data to a
postgres database
<snip>
su -c "createuser -A -D -P $PG_user" postgres
su -c "psql -d$PG_database -h localhost -U$PG_user -W -f postgresql.sql "
postgres
</snip>
when the script executes those command, it ask for a password, how could I
do this without have to enter the passwd, I would like that it reads the
password from a variabel...
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list.
I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without
modifications.
How did I try it?
Created a (non-root) build environment (not a mock )
Installed the kernel.scr.rpm and did a
rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee
prep-out.log
The build failed at the end:
Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL
Checking