Questions tagged [duplication]

180 questions
1
vote
1 answer

PostgreSQL: on-the-fly duplication of the database on the same server

We are using the same PostgreSQL 9.3 Server both for production and development. So we would like to get the copy of the existing production database for the development purposes. To be precise, all the INSERT/UPDATE/DELETE events that come to…
Vitaly Isaev
  • 5,392
  • 6
  • 45
  • 64
1
vote
1 answer

Neo4J: Avoid repeating nodes

I have a model with students and the courses that they assisted. All students have a groupNumber. So when I want to get all the students that assisted to same course but are from a different groupNumber I do this: MATCH…
1
vote
2 answers

Int vs Float: Counter

Code: #include #include #include #include int main() { FILE *fp1, *fp2; int ch1, ch2; clock_t elapsed; char fname1[40], fname2[40]; printf("Enter name of first file:"); fgets(fname1,…
humblebeast
  • 303
  • 3
  • 16
1
vote
1 answer

Template specialization containers

I will open the question with a code sample: template