Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

220
Views
SQLAlchemy connection.execute COMENTARIO SOBRE Postgres no funciona

Tengo una base de datos postgres local. Estoy tratando de ejecutar un comentario simple en el comando con connection.execute . Por ejemplo,

 import sqlalchemy as sa db_url = DB_URL db_engine = sa.create_engine(db_url) conn = db_engine.connect() conn.execute('create schema test') conn.execute('create table test.testing as (select 1 as value)') conn.execute("comment on table test.testing is 'this is my table'")

Esto realmente crea una tabla test.testing en mi base de datos local, pero cuando ejecuto lo siguiente:

 select * from pg_description join pg_class on pg_description.objoid = pg_class.oid join pg_namespace on pg_class.relnamespace = pg_namespace.oid where pg_namespace.nspname = 'test' and pg_class.relname = 'testing'

En realidad, no se devuelven filas.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!