GithubHelp home page GithubHelp logo

'\timing on' not work in greenplum 6 about usql HOT 5 CLOSED

l1t1 avatar l1t1 commented on May 25, 2024
'\timing on' not work in greenplum 6

from usql.

Comments (5)

kenshaw avatar kenshaw commented on May 25, 2024

@l1t1 Thank you for bringing this to my attention. This will be fixed.

from usql.

kenshaw avatar kenshaw commented on May 25, 2024

I've fixed this, but I'm not able to cut a release at this time. Please build/install from source you you really need this functionality immediately. Thanks.

from usql.

l1t1 avatar l1t1 commented on May 25, 2024

thanks a lot

from usql.

l1t1 avatar l1t1 commented on May 25, 2024

I download the Artifacts from https://github.com/xo/usql/actions/runs/8152442988
in Linux, it works,

$ ./usql_static --version
usql 0.0.0-dev

$ ./usql_static  sq:sql.db
Connected with driver sqlite3 (SQLite3 3.45.1)
Type "help" for help.

sq:sql.db=> create table t(a int,b varchar(100));
CREATE TABLE
sq:sql.db=> insert into t values(1,'sfsf');
INSERT 1

sq:sql.db=> \timing on
Timing is on.
sq:sql.db=> select * from t;
 a |  b   
---+------
 1 | sfsf 
(1 row)

Time: 0.511 ms
sq:sql.db=> insert into t values(4,'eee');
INSERT 1
Time: 6.176 ms

in Windows, it(usql0 ) quit sliently, the old version(usql 0.14.3) works fine.
my windows 7 version 6.1.7601

D:\>usql0 pg://localhost/postgres

D:\>usql0

D:\>usql --version
usql 0.14.3
D:\>usql
Type "help" for help.

(not connected)=> \c pg://localhost/postgres
Connected with driver postgres (PostgreSQL 15.2)
pg:localhost/postgres=> \d
        List of relations
 Schema  |     Name      | Type
---------+---------------+-------
 poker24 | cards         | table

from usql.

l1t1 avatar l1t1 commented on May 25, 2024

I test the 0.17.5 version, it also quit on windows 7, version 0.17.0 still works

D:>usql175 --version

D:>usql170 --version
usql 0.17.0

from usql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.